Example 15425

Auth Config

Authentication and authorization settings.

{
provider: "saml"
# Token settings
jwt: {
secret_key: "j52NzNuUzh1PLr64zf6Zu6eC3jTSHsv6"
algorithm: "ES256"
expiry: "1h"
refresh_expiry: "90d"
}

# OAuth provider
oauth: {
client_id: "p72brLTF3kRbr8fbGB27P7sf"
authorize_url: "https://auth.unimportant-embarrassment.biz/authorize"
token_url: "https://auth.gullible-fog.net/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also