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

30 lines
688 B
YAML
Raw Normal View History

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