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

[Web] Enable PKCE flows for Oauth server

GitOrigin-RevId: e9a61596ed64e2be8b038b35eb8ea3e21b772e97
This commit is contained in:
Jimmy Domagala-Tang
2025-01-27 09:45:53 -05:00
committed by Copybot
parent e1a7dea96e
commit db1fee73c8

View File

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