Example 13228
Auth Config
Authentication and authorization settings.
{
provider: "saml"
# Token settings
jwt: {
secret_key: "OpyHU1R25tfQ2hlJdv7Usmt17vtLLDzQ"
algorithm: "ES256"
expiry: "7d"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "tT4nDZ7sbkTAIj0PAXq6Os7Q"
authorize_url: "https://auth.selfish-hornet.net/authorize"
token_url: "https://auth.closed-hydrolyze.com/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}