Example 13233

Auth Config

Authentication and authorization settings.

{
provider: "saml"
# Token settings
jwt: {
secret_key: "2vQOOV1Avv5dex9mwK1hE3AxyVAztrlw"
algorithm: "ES256"
expiry: "7d"
refresh_expiry: "7d"
}

# OAuth provider
oauth: {
client_id: "KVnXdbqMvt7FD0SfsazO6f1A"
authorize_url: "https://auth.raw-birth.net/authorize"
token_url: "https://auth.worthless-ghost.com/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also