Closed emmanuelmillionaer closed 7 years ago
Fixes: https://sentry.io/spaces/web/issues/248694530/
Explanation
By default Devise would redirect_to new_user_session_path This route does not exist because, Devise-sessions are skipped:
new_user_session_path
sessions
devise_for :users, skip: [:sessions], controllers: { omniauth_callbacks: "user/omniauth_callbacks", passwords: "user/passwords" }
That's why here I overwrite new_session_path in the User::OmniauthCallbacksController
new_session_path
User::OmniauthCallbacksController
Sentry: https://sentry.io/spaces/web/issues/248694530/
What
Fixes: https://sentry.io/spaces/web/issues/248694530/
Explanation
By default Devise would redirect_to
new_user_session_path
This route does not exist because, Devise-sessions
are skipped:That's why here I overwrite
new_session_path
in theUser::OmniauthCallbacksController
Related Links
Sentry: https://sentry.io/spaces/web/issues/248694530/
Screenshots