Example 8237

Auth Config

Authentication and authorization settings.

{
provider: "saml"
# Token settings
jwt: {
secret_key: "FAeBYLkfSVVwuruyzcyJK6PpPVf0copB"
algorithm: "HS256"
expiry: "15m"
refresh_expiry: "30d"
}

# OAuth provider
oauth: {
client_id: "rFzxXZSpkk5NBesfaDF9ZPR7"
authorize_url: "https://auth.aged-festival.name/authorize"
token_url: "https://auth.fuzzy-zen.name/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also