Appearance
1124 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "jwt"
# Token settings
jwt: {
secret_key: "3ZSd4kncx0KfYiKXAcNirV9vTUfIP3kp"
algorithm: "HS256"
expiry: "15m"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "JMdpyUfvVOs3bQL9CRiclSOI"
authorize_url: "https://auth.agile-pinstripe.biz/authorize"
token_url: "https://auth.waterlogged-toothpick.name/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}