1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

Add Guardian configuration

This commit is contained in:
Daniel Barber 2018-01-15 22:24:41 -05:00
parent e1cdcbac0a
commit 9be77a9ad0
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -22,6 +22,11 @@ config :logger, :console,
format: "$time $metadata[$level] $message\n",
metadata: [:request_id]
# Configure authentication provider
config :chess, Chess.Auth.Guardian,
issuer: "chess",
secret_key: System.get_env("GUARDIAN_SECRET_KEY")
# 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"