mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Add Guardian configuration
This commit is contained in:
parent
e1cdcbac0a
commit
9be77a9ad0
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user