In utils/auth.server.ts the new Authenticator is called with the connectionSessionStorage. However, in the auth+/onboarding_.$provider.tsx route the code was trying to grab the sessionErrorKey from the authSession instean of the connnectionSession. This fixes that.
Test Plan
Simulate an error causd by the remix-auth authenticator failing when the GitHub (or other) social auth provider fails.
In
utils/auth.server.ts
thenew Authenticator
is called with theconnectionSessionStorage
. However, in theauth+/onboarding_.$provider.tsx
route the code was trying to grab thesessionErrorKey
from theauthSession
instean of theconnnectionSession
. This fixes that.Test Plan
Simulate an error causd by the remix-auth authenticator failing when the GitHub (or other) social auth provider fails.
Checklist
Screenshots
fixes #750