From 30d377405d4e48c8f25e288638b32e164905e9b4 Mon Sep 17 00:00:00 2001 From: Muhammad Daffa <36522826+daffainfo@users.noreply.github.com> Date: Mon, 22 Nov 2021 17:24:14 +0700 Subject: [PATCH] Create api-mojoauth.yaml --- token-spray/api-mojoauth.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 token-spray/api-mojoauth.yaml diff --git a/token-spray/api-mojoauth.yaml b/token-spray/api-mojoauth.yaml new file mode 100644 index 0000000000..f6cafe6873 --- /dev/null +++ b/token-spray/api-mojoauth.yaml @@ -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