Rails 6 session not persisting Omniauth hash
simpsonjulian opened this issue · comments
Julian Simpson commented
Hi there, I'm trying to get this sample working for Rails 6.
I can authenticate via Auth0 and the callback is invoked with a payload, but the Rails session isn't updating:
session[:userinfo] = request.env['omniauth.auth']
is executed, but when the browser gets redirected, there's no session.
I've been looking at the PR from @davidpatrick, but no idea if this behaviour is expected or not.
Any ideas? Thanks.
Julian Simpson commented
Update: I tried the sample and it worked beautifully, so I'll just wait until #47 is merged. Thanks.