Example 7237
Auth Config
Authentication and authorization settings.
{
provider: "saml"
# Token settings
jwt: {
secret_key: "ICKMchhVFrkW0lTmeWv6lrQQWEAAcjZ1"
algorithm: "RS256"
expiry: "24h"
refresh_expiry: "7d"
}
# OAuth provider
oauth: {
client_id: "4ddFdWi8G5wjYO2hdEVNiEoZ"
authorize_url: "https://auth.crafty-ruin.org/authorize"
token_url: "https://auth.posh-silk.org/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}