Im curious if this line should be trying to get the authenticator error from the connectionSessionStorage which is what is passed to the Authenticator constructor. Would the authenticator, upon failure not put the error on the connection session? How does the remix authenticator know about the auth session.
I could be mistaken but I was under the impression that the Epic Stack does not use remix-auth directly to manage the session. But instead only pass around a user profile when the user uses the provider.
https://github.com/epicweb-dev/epic-stack/blob/7923be98dc8a3338b70619ea828f1048afe816bf/app/routes/_auth%2B/onboarding_.%24provider.tsx#L94
Im curious if this line should be trying to get the authenticator error from the connectionSessionStorage which is what is passed to the Authenticator constructor. Would the authenticator, upon failure not put the error on the connection session? How does the remix authenticator know about the auth session. I could be mistaken but I was under the impression that the Epic Stack does not use remix-auth directly to manage the session. But instead only pass around a user profile when the user uses the provider.