Appearance
1328 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "lDAnzKNFkAjefyRN1ZLG3xwbaV1Tz7vN"
algorithm: "HS256"
expiry: "15m"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "VAAoZlJDX0qqmoudTbHEDdcV"
authorize_url: "https://auth.burly-e-mail.name/authorize"
token_url: "https://auth.strong-vista.net/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}