Created
March 15, 2017 16:29
-
-
Save as27/6e0aecba1b3cff5a59092416b4447f57 to your computer and use it in GitHub Desktop.
Buffalo Auth Tutorial: Setting scope
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goth.UseProviders( | |
github.New( | |
os.Getenv("GITHUB_KEY"), | |
os.Getenv("GITHUB_SECRET"), | |
fmt.Sprintf("%s%s", App().Host, "/auth/github/callback"), | |
"user:email"), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment