megachangelog
Fix4.28.1

Fix native OAuth transport flows breaking modal components

Resolved an issue where native OAuth transport flows (e.g. in Electron) were breaking out of modal components and failing with "Redirect url mismatch" errors. OAuth callbacks now navigate within the component's own router and consistently use the registered transport callback URL, preventing production rejections of sign-in and sign-up requests.

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.

oauthauthfixmodalselectron

Source: original entry ↗

More from Clerk

Follow Clerk to get its new changes in your feed and email digest.

Improvement1.17.26

@clerk/vue 1.17.26

Updated @clerk/types dependency to version 4.101.28.

vuedependenciespatch
Improvement1.13.34

@clerk/nuxt@1.13.34

Updated internal dependencies for @clerk/types, @clerk/backend, and @clerk/vue to latest patch versions.

nuxtdependenciespatch
Improvement1.14.11

@clerk/testing dependencies updated

Updated @clerk/types to 4.101.28 and @clerk/backend to 2.33.8 to ensure compatibility and include latest improvements.

dependenciestestingpatch
See all Clerk changes →