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 c0ae5c6 commit 961a9a8Copy full SHA for 961a9a8
app/api/auth/callback/route.ts
@@ -73,10 +73,9 @@ export async function GET(request: NextRequest) {
73
const redirectUri = new URL(OAUTH_CONFIG.CALLBACK_PATH, request.url).toString();
74
const tokenResponse = await exchangeCodeForToken(code, redirectUri, codeVerifier);
75
76
- // Store the access token in encrypted session
+ // Store the access token in cookies
77
await setAuthToken(
78
tokenResponse.access_token,
79
- tokenResponse.token_type,
80
tokenResponse.expires_in,
81
);
82
0 commit comments