Appearance
832 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "ZEKcZpSDiB9vnzejzQTXQySUWzaJb2nQ"
algorithm: "ES256"
expiry: "15m"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "cp2GoGRFhThiBQIjDN3dkQZj"
authorize_url: "https://auth.knowledgeable-certification.net/authorize"
token_url: "https://auth.snoopy-shipper.name/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}