-
Notifications
You must be signed in to change notification settings - Fork 354
chore(astro): Introduce treatPendingAsSignedOut
option to server-side utilities
#5757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(astro): Introduce treatPendingAsSignedOut
option to server-side utilities
#5757
Conversation
🦋 Changeset detectedLatest commit: 2652b0b 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 ↗︎
|
treatPendingAsSignedOut
to getAuth
treatPendingAsSignedOut
to server-side utilities
5caf2fd
to
eb1b8fd
Compare
treatPendingAsSignedOut
to server-side utilitiestreatPendingAsSignedOut
to server-side utilities
eb1b8fd
to
1e792af
Compare
1e792af
to
15c54b7
Compare
15c54b7
to
239d32e
Compare
239d32e
to
57af90b
Compare
57af90b
to
17c946c
Compare
17c946c
to
00525a0
Compare
00525a0
to
4fd9834
Compare
4fd9834
to
d952599
Compare
treatPendingAsSignedOut
to server-side utilitiestreatPendingAsSignedOut
option to server-side utilities
3569919
to
bc07bf3
Compare
bc07bf3
to
3e4719f
Compare
if (treatPendingAsSignedOut && authObject.sessionStatus === 'pending') { | ||
return signedOutAuthObject(options); | ||
} |
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.
This seems like something that should be handled in @clerk/backend
, but we can do it in a followup. Something like:
getAuthObjectFromJwt(jwt)
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.
Agreed! I'll raise a follow-up PR for it.
3e4719f
to
8f4f204
Compare
@clerk/agent-toolkit
@clerk/chrome-extension
@clerk/astro
@clerk/clerk-js
@clerk/dev-cli
@clerk/backend
@clerk/elements
@clerk/clerk-expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/nextjs
@clerk/nuxt
@clerk/localizations
@clerk/clerk-react
@clerk/react-router
@clerk/remix
@clerk/tanstack-react-start
@clerk/testing
@clerk/shared
@clerk/themes
@clerk/types
@clerk/upgrade
@clerk/vue
commit: |
8f4f204
to
2652b0b
Compare
Description
Allow passing
treatPendingAsSignedOut
toauth
,getAuth
, and server-side control components.Checklist
pnpm test
runs as expected.pnpm build
runs as expected.Type of change