You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ahh you need to either return the value or await it making the loader/action an async function, if you want to send a PR to fix it I can merge it, if not I will send a PR in a few minutes.
The GitHubStrategy example in docs crashes the application with error
Error: Promise rejected with value
when clicking login.Seems like the fix is to return the value of
authenticator.authenticate
inapp/routes/auth/github.tsx
Also the loader in
app/routes/auth/github/calllback.tsx
needs to be changed to return the value ofauthenticator.authenticate
Tested with Remix 0.20.1.
I'd be happy to create a PR for this!
The text was updated successfully, but these errors were encountered: