Last active
January 20, 2019 01:08
-
-
Save thebrianemory/67ec31d8949fa07fcb087c42ae43bbae to your computer and use it in GitHub Desktop.
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
use Mix.Config | |
... # Code removed for readability | |
### Add that code below this line ### | |
# Configure Google OAuth | |
config :ueberauth, Ueberauth, | |
providers: [ | |
google: {Ueberauth.Strategy.Google, [default_scope: "email profile plus.me"]} | |
] | |
config :ueberauth, Ueberauth.Strategy.Google.OAuth, | |
client_id: System.get_env("GOOGLE_CLIENT_ID"), | |
client_secret: System.get_env("GOOGLE_CLIENT_SECRET") | |
### Add the code above this line ### | |
# Import environment specific config. This must remain at the bottom | |
# of this file so it overrides the configuration defined above. | |
import_config "#{Mix.env}.exs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment