You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of March, Omniauth now calls through to the app for dynamic configuration settings and you will need to define a route for /auth/:provider that results in a 404 so Omniauth knows how to proceed
This route:
make omniauth stop working in our app as described in https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview :
As of March, Omniauth now calls through to the app for dynamic configuration settings and you will need to define a route for /auth/:provider that results in a 404 so Omniauth knows how to proceed
The fix is to exclude /users/auth/:provider from the route (as described here: http://stackoverflow.com/questions/7365215/omniauth-devise-user-auth-facebook-magic-route-question):
match "*path" => "application#render_404_error", :constraints => lambda {|req| !req.path.starts_with?("/users/auth/") } (in which user is the model that is omniauthable)
The text was updated successfully, but these errors were encountered: