Example 2537
Auth Config
Authentication and authorization settings.
{
provider: "saml"
# Token settings
jwt: {
secret_key: "pkdZNyEAKi3fFkEfaVvzmP2GJmBjgkhW"
algorithm: "HS256"
expiry: "7d"
refresh_expiry: "7d"
}
# OAuth provider
oauth: {
client_id: "C0IAux3LeEOTu2NPdUkeO6Ok"
authorize_url: "https://auth.velvety-hornet.net/authorize"
token_url: "https://auth.muffled-skean.net/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}