Skip to content

Conversation

@jan-tennert
Copy link
Collaborator

@jan-tennert jan-tennert commented Nov 11, 2025

What kind of change does this PR introduce?

Improvement (closes #1099)

What is the current behavior?

  • The Initializing status is set to NotAuthenticated even if the platform itself hasn't done all of its stuff (e.g. on the Web targets checking the url for a PKCE code)
  • This means that e.g. on Web targets the status gets set to Initializing -> NotAuthenticated -> Authenticated. The middle status isn't ideal

What is the new behavior?

  • The Initializing only changes after the platform is done setting up
  • A lot of tests for the web Auth#setupPlatform (PKCE & hash detection)

@github-actions github-actions bot added the auth label Nov 11, 2025
@github-actions github-actions bot added the tests label Nov 18, 2025
@jan-tennert jan-tennert changed the title Only set status to NotAuthenticated after setting up the platform Refactor platform specific auth initialization Nov 21, 2025
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.

[Feature request]: Combine session recovery from storage with url params validation on web

2 participants