Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add Scope params #27

Closed
mrjamesriley opened this issue Feb 2, 2017 · 2 comments
Closed

How to add Scope params #27

mrjamesriley opened this issue Feb 2, 2017 · 2 comments

Comments

@mrjamesriley
Copy link

mrjamesriley commented Feb 2, 2017

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
Copy link

Thanks for posting, mrjamesriley.

@tmilewski
Copy link
Member

Closed with #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants