nuclei-templates/http/token-spray/api-mojoauth.yaml

31 lines
651 B
YAML

id: api-mojoauth
info:
name: MojoAuth API Test
author: daffainfo
severity: info
description: Secure and modern passwordless authentication platform
reference:
- https://mojoauth.com/docs/
- https://github.com/daffainfo/all-about-apikey/tree/main/mojoauth
tags: token-spray,mojoauth
metadata:
max-request: 1
self-contained: true
http:
- raw:
- |
POST https://api.mojoauth.com/token/jwks HTTP/1.1
Host: api.mojoauth.com
X-API-Key: {{token}}
matchers:
- type: word
part: body
words:
- '"keys"'
- '"kty"'
- '"kid"'
condition: and