[openstreetmap/openstreetmap-website] Create a SessionsController (#3147)
notifications at github.com
Wed Mar 24 14:00:06 UTC 2021
> Presumably at some point thing like the omniauth callbacks that use those shared routines should themselves move to the session controller given they are concerned with creating sessions?
I took that approach during development, but I didn't like it, since the Devise::SessionsController doesn't have any omniauth things in it. However, there is an [omniauth callbacks controller](https://github.com/heartcombo/devise/blob/master/app/controllers/devise/omniauth_callbacks_controller.rb) for devise - I haven't checked yet, but they might go in there, but I really don't know much about omniauth yet so I'm not sure if they are doing the same thing.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev