Просмотр исходного кода

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 год назад
Родитель
Сommit
c6824f8649
1 измененных файлов с 2 добавлено и 0 удалено
  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',