Example 4735
Auth Config
Authentication and authorization settings.
{
provider: "saml"
# Token settings
jwt: {
secret_key: "XCLppfaP1ZcFgtjhTTotlcM5Xpyk7aXG"
algorithm: "RS256"
expiry: "1h"
refresh_expiry: "7d"
}
# OAuth provider
oauth: {
client_id: "8lmHKt5363zNtzvVHUkC6AhQ"
authorize_url: "https://auth.courageous-mechanic.info/authorize"
token_url: "https://auth.important-overcoat.net/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "redis"
cookie_name: "sid"
secure: true
http_only: true
}
}