Example 16727
Auth Config
Authentication and authorization settings.
{
provider: "saml"
# Token settings
jwt: {
secret_key: "mLmkUhbNPc7L0CWKFOez0YJuQA6Cd5EU"
algorithm: "RS256"
expiry: "15m"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "bhfp4enNryAPslQu6ltmHzDm"
authorize_url: "https://auth.bogus-handle.name/authorize"
token_url: "https://auth.hairy-ceramics.com/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}