From d12fe3af7d7f17e7618a8d928d50f0bba66d5b1a Mon Sep 17 00:00:00 2001 From: Rogier Reerink Date: Thu, 8 Oct 2026 13:42:12 +0200 Subject: [PATCH] Set bearer auth default on collection. --- .../collections/Expenses Server/.resources/definition.yaml | 4 +++- .../Expenses Server/API/Auth/Token/Refresh token.request.yaml | 2 ++ .../Token/Request token using client credentials.request.yaml | 2 ++ .../Expenses Server/API/Auth/Token/Revoke token.request.yaml | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/postman/collections/Expenses Server/.resources/definition.yaml b/postman/collections/Expenses Server/.resources/definition.yaml index 6f161ad..1872ed5 100644 --- a/postman/collections/Expenses Server/.resources/definition.yaml +++ b/postman/collections/Expenses Server/.resources/definition.yaml @@ -13,4 +13,6 @@ variables: secret: true disabled: false auth: - type: noauth + type: bearer + credentials: + token: "{{access_token}}" diff --git a/postman/collections/Expenses Server/API/Auth/Token/Refresh token.request.yaml b/postman/collections/Expenses Server/API/Auth/Token/Refresh token.request.yaml index ebfd2f5..8b9361d 100644 --- a/postman/collections/Expenses Server/API/Auth/Token/Refresh token.request.yaml +++ b/postman/collections/Expenses Server/API/Auth/Token/Refresh token.request.yaml @@ -6,6 +6,8 @@ body: content: grant_type: refresh_token refresh_token: "{{refresh_token}}" +auth: + type: noauth scripts: - type: afterResponse code: |- diff --git a/postman/collections/Expenses Server/API/Auth/Token/Request token using client credentials.request.yaml b/postman/collections/Expenses Server/API/Auth/Token/Request token using client credentials.request.yaml index f63e3cb..30f97f8 100644 --- a/postman/collections/Expenses Server/API/Auth/Token/Request token using client credentials.request.yaml +++ b/postman/collections/Expenses Server/API/Auth/Token/Request token using client credentials.request.yaml @@ -7,6 +7,8 @@ body: grant_type: client_credentials client_id: "{{user_app_id}}" client_secret: "{{user_app_secret}}" +auth: + type: noauth scripts: - type: afterResponse code: |- diff --git a/postman/collections/Expenses Server/API/Auth/Token/Revoke token.request.yaml b/postman/collections/Expenses Server/API/Auth/Token/Revoke token.request.yaml index dee559f..32325fd 100644 --- a/postman/collections/Expenses Server/API/Auth/Token/Revoke token.request.yaml +++ b/postman/collections/Expenses Server/API/Auth/Token/Revoke token.request.yaml @@ -5,4 +5,6 @@ body: type: urlencoded content: token: "{{refresh_token}}" +auth: + type: noauth order: 3000