-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08e48f8
commit c48a25f
Showing
4 changed files
with
5 additions
and
27 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ config :lib_ten, | |
ecto_repos: [LibTen.Repo], | ||
smtp_sender_email: "[email protected]", | ||
title: "10Books", | ||
allowed_google_auth_domains: "Set in config.secret.exs" | ||
allowed_google_auth_domains: "gmail.com" | ||
|
||
|
||
# Configures the endpoint | ||
|
@@ -38,20 +38,17 @@ config :ueberauth, Ueberauth, | |
google: {Ueberauth.Strategy.Google, [default_scope: "email profile"]} | ||
] | ||
|
||
# NOTE: | ||
# This credentials will only work for localhost:4000 | ||
config :ueberauth, Ueberauth.Strategy.Google.OAuth, | ||
client_id: "Set in config.secret.exs", | ||
client_secret: "Set in config.secret.exs" | ||
client_id: "1042788706751-9blqj83j8r127qc0hlecf23is1erkhpc.apps.googleusercontent.com", | ||
client_secret: "UZUeRQHF6CljecqlQGOHECVO" | ||
|
||
# Prevent distributed erlang to be accessible outside of local network | ||
# https://elixirforum.com/t/distillery-node-defaults-should-i-be-concerned-about-security/14836/2 | ||
config :kernel, | ||
inet_dist_use_interface: {127, 0, 0, 1} | ||
|
||
# Import config for local development | ||
if File.exists?("config/config.secret.exs") do | ||
import_config "config.secret.exs" | ||
end | ||
|
||
# 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" |
This file was deleted.
Oops, something went wrong.
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