diff --git a/config/config.exs b/config/config.exs index 8f706e0..30cb587 100644 --- a/config/config.exs +++ b/config/config.exs @@ -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"