Skip to content

Conversation

@dopry
Copy link
Owner

@dopry dopry commented Nov 2, 2025

this was broken in the oidc-client-ts upgrade.

@dopry dopry requested a review from Copilot November 2, 2025 02:16
Copy link

Copilot AI left a 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)

@dopry dopry requested a review from Copilot November 2, 2025 02:26
Copy link

Copilot AI left a 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.

@dopry dopry requested a review from Copilot November 2, 2025 02:35
Copy link

Copilot AI left a 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.

@dopry dopry requested a review from Copilot November 2, 2025 02:59
Copy link

Copilot AI left a 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 preserveRoute and callback_url parameters lack type annotations. Add : boolean for preserveRoute and : string | null for callback_url to maintain consistency with the TypeScript migration.
<script context="module" lang="ts">

src/lib/OidcContext.svelte:1

  • The variable rename from appState to state may be incorrect. The oidc-client-ts library's signinRedirect method typically expects a parameter named state for the OAuth state parameter, not application state. The application-specific routing data (pathname, search) should likely be passed in a different parameter such as state (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">

@dopry dopry force-pushed the fix/auth0-logout branch 3 times, most recently from c5fabd4 to 92f4cd0 Compare November 2, 2025 03:26
@dopry dopry requested a review from Copilot November 2, 2025 03:26
Copy link

Copilot AI left a 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.
@dopry dopry requested a review from Copilot November 2, 2025 03:33
Copy link

Copilot AI left a 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.

@dopry dopry merged commit 0cdd038 into next Nov 2, 2025
7 checks passed
@dopry dopry deleted the fix/auth0-logout branch November 2, 2025 03:35
@github-actions
Copy link

github-actions bot commented Nov 2, 2025

🎉 This PR is included in version 1.2.0-next.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Nov 2, 2025

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants