-
Notifications
You must be signed in to change notification settings - Fork 343
chore(backend,nextjs): Introduce treatPendingAsSignedOut
option to server-side utilities and control components
#5756
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?
Conversation
🦋 Changeset detectedLatest commit: 897334b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
adbee6a
to
e9134ec
Compare
treatPendingAsSignedOut
to auth
and server-side control componentstreatPendingAsSignedOut
to server-side utilities and control components
008dde4
to
c66b15e
Compare
c66b15e
to
adb29b6
Compare
treatPendingAsSignedOut
to server-side utilities and control componentstreatPendingAsSignedOut
to server-side utilities and control components
6194b47
to
e6ff151
Compare
2fd8a5b
to
1e8850b
Compare
treatPendingAsSignedOut
to server-side utilities and control componentstreatPendingAsSignedOut
option to server-side utilities and control components
1e8850b
to
e955da7
Compare
e955da7
to
1c7e46d
Compare
1c7e46d
to
fc01c62
Compare
fc01c62
to
3754a5f
Compare
3754a5f
to
e3146f1
Compare
e3146f1
to
44557eb
Compare
44557eb
to
f1c99f1
Compare
f1c99f1
to
af2f6ff
Compare
af2f6ff
to
f251a05
Compare
f251a05
to
897334b
Compare
if (treatPendingAsSignedOut && authObject.sessionStatus === 'pending') { | ||
authObject = signedOutAuthObject(options, authObject.sessionStatus); | ||
} |
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.
Same comment as the Astro PR, I would like to see this come from @clerk/backend
:
getAuthObjectFromJwt(jwt)
Description
Allow passing
treatPendingAsSignedOut
toauth
,getAuth
, and server-side control components.If session status is
pending
:Checklist
pnpm test
runs as expected.pnpm build
runs as expected.Type of change