Use Postman built-in auth flow.

This commit is contained in:
2026-10-09 20:37:36 +02:00
parent 38ee5fe021
commit 1655becf39
31 changed files with 66 additions and 33 deletions
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/accounts/00000000-0000-0000-0003-000000000001
url: "{{base_url}}/api/accounts/00000000-0000-0000-0003-000000000001"
method: DELETE
settings: {}
order: 4000
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/accounts/00000000-0000-0000-0003-000000000001
url: "{{base_url}}/api/accounts/00000000-0000-0000-0003-000000000001"
method: GET
body:
type: text
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/accounts?name=&limit=20&offset=0
url: "{{base_url}}/api/accounts?name=&limit=20&offset=0"
method: GET
queryParams:
name: ""
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/accounts/00000000-0000-0000-0003-000000000001
url: "{{base_url}}/api/accounts/00000000-0000-0000-0003-000000000001"
method: PUT
body:
type: json
@@ -1,4 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/auth/passkey/options
url: "{{base_url}}/api/auth/passkey/options"
method: POST
order: 1000
@@ -1,4 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/auth/passkey/verify
url: "{{base_url}}/api/auth/passkey/verify"
method: POST
order: 2000
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/auth/token
url: "{{token_url}}"
method: POST
body:
type: urlencoded
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/auth/token
url: "{{token_url}}"
method: POST
body:
type: urlencoded
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/auth/token/revoke
url: "{{token_url}}"
method: POST
body:
type: urlencoded
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/scheduled-transactions/00000000-0000-0000-0005-000000000001
url: "{{base_url}}/api/scheduled-transactions/00000000-0000-0000-0005-000000000001"
method: DELETE
settings: {}
order: 4000
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/scheduled-transactions/00000000-0000-0000-0005-000000000001
url: "{{base_url}}/api/scheduled-transactions/00000000-0000-0000-0005-000000000001"
method: GET
settings: {}
order: 2000
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/scheduled-transactions?limit=20&offset=0
url: "{{base_url}}/api/scheduled-transactions?limit=20&offset=0"
method: GET
queryParams:
limit: "20"
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/scheduled-transactions/00000000-0000-0000-0005-000000000001
url: "{{base_url}}/api/scheduled-transactions/00000000-0000-0000-0005-000000000001"
method: PUT
body:
type: json
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/transactions/00000000-0000-0000-0004-000000000001
url: "{{base_url}}/api/transactions/00000000-0000-0000-0004-000000000001"
method: DELETE
settings: {}
order: 4000
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/transactions/00000000-0000-0000-0004-000000000001
url: "{{base_url}}/api/transactions/00000000-0000-0000-0004-000000000001"
method: GET
body:
type: text
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/transactions?limit=20&offset=0
url: "{{base_url}}/api/transactions?limit=20&offset=0"
method: GET
queryParams:
limit: "20"
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/transactions/00000000-0000-0000-0004-000000000001
url: "{{base_url}}/api/transactions/00000000-0000-0000-0004-000000000001"
method: PUT
body:
type: json
@@ -1,4 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000003
url: "{{base_url}}/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000003"
method: DELETE
order: 5000
@@ -1,4 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000003
url: "{{base_url}}/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000003"
method: GET
order: 3000
@@ -1,4 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps
url: "{{base_url}}/api/users/00000000-0000-0000-0000-000000000001/apps"
method: GET
order: 2000
@@ -1,4 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets/00000000-0000-0000-0002-000000000001
url: "{{base_url}}/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets/00000000-0000-0000-0002-000000000001"
method: DELETE
order: 4000
@@ -1,4 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets/00000000-0000-0000-0002-000000000001
url: "{{base_url}}/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets/00000000-0000-0000-0002-000000000001"
method: GET
order: 2000
@@ -1,4 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets
url: "{{base_url}}/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets"
method: GET
order: 1000
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets/00000000-0000-0000-0002-000000000001
url: "{{base_url}}/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000001/secrets/00000000-0000-0000-0002-000000000001"
method: PUT
body:
type: json
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000003
url: "{{base_url}}/api/users/00000000-0000-0000-0000-000000000001/apps/00000000-0000-0000-0001-000000000003"
method: PUT
body:
type: json
@@ -1,4 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001
url: "{{base_url}}/api/users/00000000-0000-0000-0000-000000000001"
method: DELETE
order: 5000
@@ -1,4 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001
url: "{{base_url}}/api/users/00000000-0000-0000-0000-000000000001"
method: GET
order: 3000
@@ -1,4 +1,4 @@
$kind: http-request
url: http://localhost:3000/api/users
url: "{{base_url}}/api/users"
method: GET
order: 2000
@@ -1,5 +1,5 @@
$kind: http-request
url: http://localhost:3000/api/users/00000000-0000-0000-0000-000000000001
url: "{{base_url}}/api/users/00000000-0000-0000-0000-000000000001"
method: PUT
body:
type: json