OIDC-only sign-in, Vereinfacht connection test, locale defaults, and settings/docs cleanup #445
1 changed files with 7 additions and 5 deletions
|
|
@ -93,11 +93,13 @@ config :mv, :secret_key_base, "ryn7D6ssmIHQFWIks2sFiTGATgwwAR1+3bN8p7fy6qVtB8qnx
|
||||||
# Signing Secret for Authentication
|
# Signing Secret for Authentication
|
||||||
config :mv, :token_signing_secret, "IwUwi65TrEeExwBXXFPGm2I7889NsL"
|
config :mv, :token_signing_secret, "IwUwi65TrEeExwBXXFPGm2I7889NsL"
|
||||||
|
|
||||||
config :mv, :oidc,
|
# OIDC: only use when ENV (or Settings) are set. When all OIDC ENVs are commented out,
|
||||||
client_id: "mv",
|
# do not set defaults here so the SSO button stays hidden and no MissingSecret occurs.
|
||||||
base_url: "http://localhost:8080/auth/v1",
|
# config :mv, :oidc,
|
||||||
client_secret: System.get_env("OIDC_CLIENT_SECRET"),
|
# client_id: "mv",
|
||||||
redirect_uri: "http://localhost:4000/auth/user/oidc/callback"
|
# base_url: "http://localhost:8080/auth/v1",
|
||||||
|
# client_secret: System.get_env("OIDC_CLIENT_SECRET"),
|
||||||
|
# redirect_uri: "http://localhost:4000/auth/user/oidc/callback"
|
||||||
|
|
||||||
# AshAuthentication development configuration
|
# AshAuthentication development configuration
|
||||||
config :mv, :session_identifier, :jti
|
config :mv, :session_identifier, :jti
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue