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
hi,
I'm having an invalid redirect_uri issue when trying to authenticate with facebook on my production app, but no issue in development.
Any idea of what is causing it?
Find my code below
class SessionsController < Devise::OmniauthCallbacksController
def facebook
#raise env.inspect #to_yaml
user = User.from_oauth(env['omniauth.auth'])
session[:user_id] = user.uid
redirect_to profile_path
end
end
hi,
I'm having an invalid redirect_uri issue when trying to authenticate with facebook on my production app, but no issue in development.
Any idea of what is causing it?
Find my code below
devise initializer
in the routes file
The text was updated successfully, but these errors were encountered: