Replies: 2 comments 2 replies
-
This probably needs to be better documented, I have the same use case btw, so yeah you get the user, but because you don't get a session object back I can't set the user data in the session I get inside the strategy because if you run |
Beta Was this translation helpful? Give feedback.
2 replies
-
Would it also make sense for the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This took me longer than I'd like to track down.
When calling
authenticate()
without setting asuccessRedirect
, the following lines are not called, so the user has to do these steps manually:Maybe make this side effect more explicit in the docs? We're not just trading redirect vs getting the user, we're also losing out on setting the cookie.
Or, do more of these steps even when
successRedirect
is not provided?My use case is that
successRedirect
depends on the logged in user, so I can't set it when callingauthenticate()
.Beta Was this translation helpful? Give feedback.
All reactions