From 73a719e92653301c9eb36426b541fe1807d72a18 Mon Sep 17 00:00:00 2001 From: myronkaifung <97630035+myronkaifung@users.noreply.github.com> Date: Wed, 15 May 2024 16:10:02 -0700 Subject: [PATCH 1/3] Use OAuth for authentication --- openapi/src/gdpr.openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi/src/gdpr.openapi.yaml b/openapi/src/gdpr.openapi.yaml index 35fc6b595d..7191e4756a 100644 --- a/openapi/src/gdpr.openapi.yaml +++ b/openapi/src/gdpr.openapi.yaml @@ -9,7 +9,7 @@ info: servers: - $ref: ./common/app-api.yaml#/server security: - - ServiceAccount: [] + - OAuthToken: [] tags: - name: Cancel Deletion description: Cancels an existing deletion task From 67f3deae9ca2c4792f06ebe2741c2efc111c0789 Mon Sep 17 00:00:00 2001 From: myronkaifung <97630035+myronkaifung@users.noreply.github.com> Date: Wed, 15 May 2024 16:11:38 -0700 Subject: [PATCH 2/3] Update securitySchemes.yaml Add OAuth --- openapi/src/common/securitySchemes.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openapi/src/common/securitySchemes.yaml b/openapi/src/common/securitySchemes.yaml index f516d077e8..f3f9aa1483 100644 --- a/openapi/src/common/securitySchemes.yaml +++ b/openapi/src/common/securitySchemes.yaml @@ -6,3 +6,6 @@ ProjectSecret: type: http scheme: basic description: Project Secret +OAuthToken: + type: http + scheme: bearer From 98630890bb4a04a6e413b0f28b8271bae8f68a81 Mon Sep 17 00:00:00 2001 From: myronkaifung <97630035+myronkaifung@users.noreply.github.com> Date: Wed, 15 May 2024 16:15:51 -0700 Subject: [PATCH 3/3] Update securitySchemes.yaml --- openapi/src/common/securitySchemes.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/openapi/src/common/securitySchemes.yaml b/openapi/src/common/securitySchemes.yaml index f3f9aa1483..75bdc8f788 100644 --- a/openapi/src/common/securitySchemes.yaml +++ b/openapi/src/common/securitySchemes.yaml @@ -9,3 +9,4 @@ ProjectSecret: OAuthToken: type: http scheme: bearer + description: OAuth Token