-
Notifications
You must be signed in to change notification settings - Fork 16
fix: auth0 logout #81
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
Conversation
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.
Pull Request Overview
This PR fixes the Auth0 logout functionality that was broken after the oidc-client-ts upgrade. The changes update error message checking and replace private property access with the public API.
- Updates error message capitalization to match the current library output
- Replaces deprecated private property access (
_settings._authority,_settings._client_id) with public API (settings.authority,settings.client_id)
12287ae to
1dc9394
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.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
1dc9394 to
a245c60
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.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
a245c60 to
582af41
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.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (2)
src/lib/OidcContext.svelte:1
- The
preserveRouteandcallback_urlparameters lack type annotations. Add: booleanforpreserveRouteand: string | nullforcallback_urlto maintain consistency with the TypeScript migration.
<script context="module" lang="ts">
src/lib/OidcContext.svelte:1
- The variable rename from
appStatetostatemay be incorrect. The oidc-client-ts library'ssigninRedirectmethod typically expects a parameter namedstatefor the OAuth state parameter, not application state. The application-specific routing data (pathname, search) should likely be passed in a different parameter such asstate(the actual OAuth state string). Review the oidc-client-ts API documentation to ensure the correct parameter structure is being used.
<script context="module" lang="ts">
c5fabd4 to
92f4cd0
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.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
this was broken in the oidc-client-ts upgrade.
92f4cd0 to
61938fb
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.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
|
🎉 This PR is included in version 1.2.0-next.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
this was broken in the oidc-client-ts upgrade.