-
Notifications
You must be signed in to change notification settings - Fork 343
chore(backend,express): Introduce treatPendingAsSignedOut
option to getAuth
#5842
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: main
Are you sure you want to change the base?
chore(backend,express): Introduce treatPendingAsSignedOut
option to getAuth
#5842
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
080f453
to
b81ca7e
Compare
🦋 Changeset detectedLatest commit: 17c8480 The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
b81ca7e
to
3a2bd6c
Compare
3a2bd6c
to
4d7ae6b
Compare
4d7ae6b
to
4d75ad8
Compare
4d75ad8
to
17c8480
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -99,7 +99,14 @@ export function signedIn( | |||
afterSignInUrl: authenticateContext.afterSignInUrl || '', | |||
after#Url: authenticateContext.after#Url || '', | |||
isSignedIn: true, | |||
toAuth: () => authObject, | |||
// @ts-expect-error The return type is intentionally overridden here to support consumer-facing logic that treats pending sessions as signed out. This override does not affect internal session management like handshake flows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀 Is it possible to adjust the type so we don't need this?
Description
Allows passing
treatPendingAsSignedOut
togetAuth
Checklist
pnpm test
runs as expected.pnpm build
runs as expected.Type of change