Example 14031

Auth Config

Authentication and authorization settings.

{
provider: "saml"
# Token settings
jwt: {
secret_key: "C8NGZvI6zpSduHee1f4tP6Bn9wfwvvgp"
algorithm: "RS256"
expiry: "24h"
refresh_expiry: "30d"
}

# OAuth provider
oauth: {
client_id: "gLhMR2ZIBxs7iL0WhcDlWxE9"
authorize_url: "https://auth.raw-alert.biz/authorize"
token_url: "https://auth.spiteful-stay.info/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also