Example 3628

Auth Config

Authentication and authorization settings.

{
provider: "saml"
# Token settings
jwt: {
secret_key: "6UmqOniFa6Qct1uEzGBPhQJ5ypGUAMYK"
algorithm: "HS256"
expiry: "1h"
refresh_expiry: "90d"
}

# OAuth provider
oauth: {
client_id: "cvnwdIm4z07zLPBPFPlRYqQc"
authorize_url: "https://auth.rotten-litter.name/authorize"
token_url: "https://auth.annual-tribe.net/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also