https://github.com/statico/repro-clerk-connectivity
https://github.com/statico/repro-clerk-connectivity
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/statico/repro-clerk-connectivity
- Owner: statico
- Created: 2024-06-12T22:14:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-13T00:42:46.000Z (about 2 years ago)
- Last Synced: 2025-01-02T03:44:23.522Z (over 1 year ago)
- Language: TypeScript
- Size: 306 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# repro-clerk-connectivity
For https://github.com/clerk/javascript/issues/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.
