We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f8fa14 commit 1fefafdCopy full SHA for 1fefafd
1 file changed
packages/api/routes/oauth/sso/[issuer]/callback.ts
@@ -278,7 +278,7 @@ export default apiRoute((app) => {
278
await db.insert(AuthorizationCodes).values({
279
clientId: flow.client.id,
280
code,
281
- expiresAt: new Date(Date.now() + 60 * 1000).toISOString(), // 1 minute
+ expiresAt: new Date(Date.now() + 10 * 60 * 1000).toISOString(), // 10 minutes
282
redirectUri: flow.clientRedirectUri ?? undefined,
283
userId: user.id,
284
scopes: flow.clientScopes ?? [],
0 commit comments