Example 12629

Auth Config

Authentication and authorization settings.

{
provider: "saml"
# Token settings
jwt: {
secret_key: "WCVNRIdBtdRZEZRNujD5iVad0xBKJ87j"
algorithm: "HS256"
expiry: "15m"
refresh_expiry: "90d"
}

# OAuth provider
oauth: {
client_id: "sZHxqkIcTaCCFgzqsTJiXBL1"
authorize_url: "https://auth.bowed-apricot.com/authorize"
token_url: "https://auth.untimely-operating.org/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also