ueberauth / ueberauth_github

GitHub OAuth2 Strategy for Überauth
MIT License
102 stars 53 forks source link

Allow users to configure whether they want to send the `redirect_uri` to GitHub or not. It defaults to true. #30

Closed suprnova32 closed 7 years ago

suprnova32 commented 7 years ago

To set this use the following snippet:

config :ueberauth, Ueberauth,
  providers: [
    github: {
      Ueberauth.Strategy.Github, [
        default_scope: "user,repo",
        send_redirect_uri: false
      ]
    }
  ]
suprnova32 commented 7 years ago

@doomspork sure! I already pushed the updated README. Thanks for the review.

doomspork commented 7 years ago

Thank you @supernova32! I will merge this and cut a release this week 😀