Example 14426
Auth Config
Authentication and authorization settings.
{
provider: "saml"
# Token settings
jwt: {
secret_key: "BDZd5FH0ahcubmzeYI07pfAY5dxxmXcd"
algorithm: "HS256"
expiry: "15m"
refresh_expiry: "7d"
}
# OAuth provider
oauth: {
client_id: "rbZolOa5AwSPjAc19H0OEykL"
authorize_url: "https://auth.pessimistic-language.com/authorize"
token_url: "https://auth.limp-dress.info/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "redis"
cookie_name: "sid"
secure: true
http_only: true
}
}