omniauth / omniauth-instagram

OmniAuth strategy for Instagram.
112 stars 85 forks source link

How to add Scope params #27

Closed mrjamesriley closed 7 years ago

mrjamesriley commented 7 years ago

I'm using Omniauth with Devise. It's not documented how to specify your scopes, and it does not appear to follow the convention used by facebook, github and others. So if it helps anyone, here's how you'd specify your desired permissions:

config.omniauth :instagram, XXX, YYY, scope: %w(basic public_content follower_list)

The scope expects an array, or something that can be cast to an array. Had me stumped for a moment till I dug through source.

ianrandmckenzie commented 7 years ago

Thanks for posting, mrjamesriley.

tmilewski commented 7 years ago

Closed with #19