feat(ui): Introduce ams claim handling in UserButton context and components#8380
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
d4417da to
04d2c68
Compare
3d1da28 to
dafd2ff
Compare
dafd2ff to
08b51dd
Compare
…mponents - Added `ams` claim type to JWT payload for session management. - Integrated `useAms` hook to conditionally render the "Manage account" action in the UserButton based on the active session's `ams` claim. - Updated UserButton context to filter out the "Manage account" menu item when the `ams` claim is active, preventing users from accessing unavailable actions.
08b51dd to
fd5b5a4
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThis pull request introduces support for the Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
amsclaim type to JWT payload for session management.useAmshook to conditionally render the "Manage account" action in the UserButton based on the active session'samsclaim.amsclaim is active, preventing users from accessing unavailable actions.Description
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change