27 lines
571 B
YAML
27 lines
571 B
YAML
id: api-mojoauth
|
|
|
|
info:
|
|
name: MojoAuth API Test
|
|
author: daffainfo
|
|
severity: info
|
|
reference:
|
|
- https://mojoauth.com/docs/
|
|
- https://github.com/daffainfo/all-about-apikey/blob/main/Authentication/MojoAuth.md
|
|
tags: token-spray,mojoauth
|
|
|
|
self-contained: true
|
|
requests:
|
|
- 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
|