nuclei-templates/token-spray/api-stytch.yaml

30 lines
688 B
YAML

id: api-stytch
info:
name: Stytch API Test
author: daffainfo
severity: info
reference:
- https://stytch.com/docs/api
- https://github.com/daffainfo/all-about-apikey/blob/main/Authentication/Stytch.md
tags: token-spray,stytch
self-contained: true
requests:
- raw:
- |
POST https://test.stytch.com/v1/users HTTP/1.1
Authorization: Basic {{base64(id + ':' + secret)}}
Host: test.stytch.com
Content-Type: application/json
{"email": "test@stytch.com"}
matchers:
- type: word
part: body
words:
- '"status_code":'
- '"request_id":'
- '"user_id":'
condition: and