Merge pull request #3180 from daffainfo/patch-256

Create api-mojoauth.yaml
patch-1
Prince Chaddha 2021-12-03 14:57:29 +05:30 committed by GitHub
commit b88f97bbf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -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