2021-11-22 10:24:14 +00:00
|
|
|
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}}
|
2022-07-22 11:32:46 +00:00
|
|
|
|
2021-11-22 10:24:14 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"keys"'
|
|
|
|
- '"kty"'
|
|
|
|
- '"kid"'
|
|
|
|
condition: and
|