Recommendations for redirecting GET requests to login page? #1099
-
When a logged out user tries to access a page that requires being logged in we would like to redirect the user to the log in page automatically. It is not clear to me what would be the best way to achieve this while avoiding https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284. Currently we are using the A best practice recommendation for how this situation should be resolved would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Follow the rails setup, you create a sessions controller and redirect them to the sessions#new action |
Beta Was this translation helpful? Give feedback.
Follow the rails setup, you create a sessions controller and redirect them to the sessions#new action
https://github.com/omniauth/omniauth#rails-without-devise