Example 9433
Auth Config
Authentication and authorization settings.
{
provider: "saml"
# Token settings
jwt: {
secret_key: "bDxAm7vrx9gD76KEzikZurpXQdZYpOSd"
algorithm: "RS256"
expiry: "1h"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "yIuFQyCVFO9QMdNxNe5eyxSS"
authorize_url: "https://auth.winding-soup.net/authorize"
token_url: "https://auth.submissive-lotion.org/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}