2021-11-11 01:11:01 +00:00
|
|
|
id: api-stytch
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Stytch API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: User infrastructure for modern applications
|
2021-11-11 01:11:01 +00:00
|
|
|
reference:
|
2021-11-11 05:19:12 +00:00
|
|
|
- https://stytch.com/docs/api
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/stytch
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,stytch
|
2021-11-11 01:11:01 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-11 01:11:01 +00:00
|
|
|
- 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":'
|
2023-10-14 11:27:55 +00:00
|
|
|
condition: and
|
2023-10-19 13:13:52 +00:00
|
|
|
# digest: 4b0a00483046022100a5cd3e56f14a5ca4f85a1244c252638f6287c623c199acd405e00ea2c8d2b4cb022100a793ced41f64583f4441e567c70c60d66e152ee792c7cea85a713109202c1662:922c64590222798bb761d5b6d8e72950
|