Skip to content

statico/repro-clerk-connectivity

Repository files navigation

repro-clerk-connectivity

For clerk/javascript#3563

Bug #1: Normally, OAuth sign in will work as expected. However, if the network is unavailable, startOAuthFlow() will fail with "Cannot read property 'toString' of null".

Bug #2: Normally creating a SignIn object with just an identifier will return a list of first factor strategies. However, if the network is down, supportedFirstFactors will be an empty array.

In both cases, a "ClerkJS: Network error" message is printed to the console. However, there is no way to catch this error or surface the message to the user.

CleanShot 2024-06-12 at 17 28 05@2x

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published