dwyl / elixir-auth-github

:octocat: Minimalist GitHub OAuth Authentication for Elixir Apps. Tested, Documented & Maintained. Setup in 5 mins. 🚀
GNU General Public License v2.0
38 stars 4 forks source link

Add option for scopes to the initial url #30

Closed ZooeyMiller closed 6 years ago

ZooeyMiller commented 6 years ago

We need to be able to add scopes to the url so that we can request specific information from github (such as emails etc). We can do this on the initial redirect so only really need to change the github_auth function so that it has the potential to take in a list of scopes to be added to the url.