2021-11-22 10:24:14 +00:00
|
|
|
id: api-mojoauth
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: MojoAuth API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Secure and modern passwordless authentication platform
|
2021-11-22 10:24:14 +00:00
|
|
|
reference:
|
|
|
|
- https://mojoauth.com/docs/
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/mojoauth
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,mojoauth
|
2021-11-22 10:24:14 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-22 10:24:14 +00:00
|
|
|
- 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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502200506d39f1578c027a21bc88f89e4c08aeb679ca01db946d0b2bfb56e7d8c615d022100b6123ee1887fe67d62e526c14ad9b4bd755d1727085a16877bbb8b59651f33ba:922c64590222798bb761d5b6d8e72950
|