Replies: 2 comments 1 reply
-
Hmm, OmniAuth login should log in the account in the exact same way as password login, which is to store Note that a remember cookie is something else, it's a cookie separate from the Rails session, which persists after the browser is closed (unlike Rails' session cookie). It stores a token for the account, to be retrieved when the Rails session expires, and used to log in the user again. I'm not sure if that plays a role in the issue you're describing, but OmniAuth login calls the |
Beta Was this translation helpful? Give feedback.
-
Hey @janko - it turns out this was due to my settings, as I was not hitting the After my callback, I want to have a redirect back to my FE app. What is the best way to do that? I tried configuring |
Beta Was this translation helpful? Give feedback.
-
Hey @janko,
Another question - I use cookie-based authentication in an API-only app, which works great for basic password/login signup. I then make a call to another endpoint that simply just returns the
current_user
for persistence.This same route doesn't work for Omniauth login. Do I need to do anything special after Omniauth in order to set the
rails_account
variable/remember cookie?Beta Was this translation helpful? Give feedback.
All reactions