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
|
2021-11-11 01:11:01 +00:00
|
|
|
tags: token-spray,stytch
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-11-11 01:11:01 +00:00
|
|
|
|
|
|
|
self-contained: true
|
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":'
|
2021-11-11 09:17:10 +00:00
|
|
|
condition: and
|