Update api-stytch.yaml
parent
699554965f
commit
c60ee86d1b
|
@ -5,7 +5,7 @@ info:
|
|||
author: daffainfo
|
||||
severity: info
|
||||
reference:
|
||||
- https://stytch.com/docs
|
||||
- https://stytch.com/docs/api
|
||||
- https://github.com/daffainfo/all-about-apikey/blob/main/Authentication/Stytch.md
|
||||
tags: token-spray,stytch
|
||||
|
||||
|
@ -13,8 +13,8 @@ self-contained: true
|
|||
requests:
|
||||
- raw:
|
||||
- |
|
||||
POST /v1/users HTTP/1.1
|
||||
Authorization: Basic {{base64(ID + ':' + SECRET)}}
|
||||
POST https://test.stytch.com/v1/users HTTP/1.1
|
||||
Authorization: Basic {{base64(PROJECT {{ID}} + ':' + {{SECRET}})}}
|
||||
Host: test.stytch.com
|
||||
Content-Type: application/json
|
||||
Content-Length: 28
|
||||
|
@ -25,5 +25,7 @@ requests:
|
|||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"error_type":"unauthorized_credentials"'
|
||||
negative: true
|
||||
- '"status_code":'
|
||||
- '"request_id":'
|
||||
- '"user_id":'
|
||||
condition: and
|
||||
|
|
Loading…
Reference in New Issue