Skip to content

pingzing/clerkJsRedirectRepro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Clerk handleRedirectCallback() issue Repro

Demonstrates ClerkJS issue with handleRedirectCallback() not seeming to honor redirect URL properties when used in tandem with Microsoft Entra ID.

To run, start up a local HTTP server running on port 8080 in this directory, then point your browser at http://localhost:8080/1-signIn.html. (For example, I used dotnet serve --port 8080, but any local HTTP server will do)

Observe that, despite the various redirect URI props set on handleRedirectCallback() in 2-ssoRedirect.html, the user is never redirected to 3-completeSignIn.html.

To test with your own Clerk account, set it up to use Microsoft Entra ID SAML-based sign-in, and replace the src and data-clerk-publishable-key in the Clerk script loader in 1-signIn.html and 2-ssoRedirect.html with your own frontend API and publishable key values.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages