Appearance
3029 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "LPgqKxcpI9JakkEJE2RG02Td8f4Wijtz"
algorithm: "ES256"
expiry: "15m"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "PfxgfPncgguieYEruPgLXCjp"
authorize_url: "https://auth.acidic-backburn.biz/authorize"
token_url: "https://auth.lustrous-approach.com/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}