Update api-stytch.yaml

patch-1
Prince Chaddha 2021-11-11 10:49:12 +05:30 committed by GitHub
parent 699554965f
commit c60ee86d1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -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