megachangelog
Fix1.30.1

Fix native OAuth transport flows breaking out of modal components

Fixed native OAuth transport flows (e.g. @clerk/electron) that were breaking out of modal components and failing with redirect URL mismatch errors. OAuth callback steps now navigate within the component's own router and use the registered transport callback URL for completion redirects.

Patch Changes

  • Fix native OAuth transport flows (e.g. @clerk/electron) breaking out of modal components and failing with "Redirect url mismatch" errors. (#9370) by @wobsoriano

    Intermediate OAuth callback steps (sign-in to sign-up transfer, continue, MFA factors, password reset) now navigate inside the component's own router instead of navigating the app window to an internal Clerk route. Transport flows also always send the registered transport callback URL as the completion redirect, so production instances no longer reject sign-in or sign-up requests when a page-derived URL was picked up as the completion redirect.

  • Updated dependencies [131edec]:

    • @clerk/shared@4.28.1
    • @clerk/localizations@4.15.1
oauthfixtransportmodalauth

Source: original entry ↗