Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
c6824f8649

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

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