vinniefranco / ueberauth_fitbit

MIT License
5 stars 7 forks source link

Specifying scopes? #3

Closed trestrantham closed 7 years ago

trestrantham commented 8 years ago

It seem like this strategy defaults to requesting all available scopes. Is there a way to specify just a subset?

vinniefranco commented 8 years ago

Hi there,

You should be able to specify scopes in your Ueberauth config:

config :ueberauth, Ueberauth,
  providers: [
    fitbit: { Ueberauth.Strategy.Fitbit, [default_scope: "activity profile"] }
  ]
trestrantham commented 8 years ago

Great, thanks! :+1: