File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -244,9 +244,9 @@ const nextAuthResult = NextAuth({
244244 //
245245 // Background: @auth /core's handleLoginOrRegister (callback/handle-login.js)
246246 // reads the session token from the request and, if it can't decode it
247- // (e.g., the session cookie expired browser-side while the user was
248- // mid-OAuth-dance, or it never made it across the cross-site redirect),
249- // falls through to `createUser({ ...profile })` — silently spawning a
247+ // (e.g., the session cookie expired browser-side mid auth flow, or it
248+ // never made it across the cross-site redirect),
249+ // falls through to `createUser({ ...profile })`, silently spawning a
250250 // new orphan User row from the OAuth profile. That's correct behavior
251251 // for `purpose: "sso"` providers (an unauthenticated user logging in
252252 // via SSO should become a new Sourcebot user). It's wrong for
You can’t perform that action at this time.
0 commit comments