Example 6527

Auth Config

Authentication and authorization settings.

{
provider: "saml"
# Token settings
jwt: {
secret_key: "hL2fAkdUlvc8gNg9cOR6yWmwbluZEwcR"
algorithm: "HS256"
expiry: "7d"
refresh_expiry: "7d"
}

# OAuth provider
oauth: {
client_id: "4NhXYn958OqbfFRzVG2yklSO"
authorize_url: "https://auth.improbable-cd.com/authorize"
token_url: "https://auth.alarmed-napkin.com/token"
scopes: [
"openid"
"profile"
"email"
]
}

session: {
store: "redis"
cookie_name: "sid"
secure: true
http_only: true
}
}

See also