-
Notifications
You must be signed in to change notification settings - Fork 388
feat(clerk-js): Adding oidc logout to frontendApiRedirectPathsNoUserInput #6890
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 736bb8e The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 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 |
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughAdds the OIDC logout path Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant IdP as Identity Provider
participant Browser
participant App
participant URLUtil as url.ts (isRedirectForFAPIInitiatedFlow)
IdP->>Browser: Redirect to frontend API path (e.g. /oauth/end_session)
Browser->>App: Load redirect URL
App->>URLUtil: Check if URL is FAPI-initiated redirect
URLUtil-->>App: true if path matches allowlist (includes /oauth/end_session)
App-->>Browser: Proceed with post-redirect handling
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5–15 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
Comment |
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/elements
@clerk/clerk-expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/clerk-react
@clerk/react-router
@clerk/remix
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/themes
@clerk/types
@clerk/upgrade
@clerk/vue
commit: |
Our oauth applications feature has a
/oauth/end_session
endpoint.In order for this endpoint to work, we need to know about the clerk client. In development we need to grab the dev browser (even if logged out).
Summary by CodeRabbit