-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Hey guys,
I am currently trying to set a OAuth connexion via Instagram and I found this gem. I successfully plugged it for Facebook, linkedin and Google + but I am currently struggling with Instagram connexion.
The reason is that I get this error when I click on "Authorize" on the Instagram connexion page
ERROR -- omniauth: (instagram) Authentication failure! user_denied: OmniAuth::Strategies::OAuth2::CallbackError, access_denied | The user denied your request.
I hence get redirect to my failure method:
Parameters: {"error_reason"=>"user_denied", "error"=>"access_denied", "error_description"=>"The user denied your request.", "state"=>"d54f932ff4bada3abd784e39886b96d324f753929d410d97"}Here is how I configured my provider in my devise.rb file :
config.omniauth :instagram, instagram_id, instagram_secret, {
scope: "basic"
}
Nothing fancy going on here.
Here are the version of the gems that I am using :
omniauth-instagram (1.3.0)
omniauth (~> 1)
omniauth-oauth2 (~> 1)
I tried looking it up but I couldn't find any related solutions.
Thanks for your feedback
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels