Jelajahi Sumber

Merge pull request #21838 from overleaf/jdt-ae-wf-codec-challenge

[Web] Enable PKCE flows for Oauth server

GitOrigin-RevId: e9a61596ed64e2be8b038b35eb8ea3e21b772e97
Jimmy Domagala-Tang 1 tahun lalu
induk
melakukan
c6824f8649
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      services/web/app/src/models/OauthAuthorizationCode.js

+ 2 - 0
services/web/app/src/models/OauthAuthorizationCode.js

@@ -11,6 +11,8 @@ const OauthAuthorizationCodeSchema = new Schema(
     redirectUri: String,
     scope: String,
     user_id: { type: ObjectId, ref: 'User' },
+    codeChallenge: String,
+    codeChallengeMethod: String,
   },
   {
     collection: 'oauthAuthorizationCodes',