Example 15927

Auth Config

Authentication and authorization settings.

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

# OAuth provider
oauth: {
client_id: "43cM0tI5NVqalNsVO8JIoJgN"
authorize_url: "https://auth.dependent-jellyfish.info/authorize"
token_url: "https://auth.jumbo-farmer.name/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also