Create api-mojoauth.yaml

patch-1
Muhammad Daffa 2021-11-22 17:24:14 +07:00 committed by GitHub
parent c04074406b
commit 30d377405d
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