Create api-mojoauth.yaml
parent
c04074406b
commit
30d377405d
|
@ -0,0 +1,26 @@
|
||||||
|
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
|
Loading…
Reference in New Issue