Appearance
2427 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "jwt"
# Token settings
jwt: {
secret_key: "8V8bTnOxiS2NJjbxiyKsgRrSQTLquDN1"
algorithm: "HS256"
expiry: "15m"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "IN64fANL6izelbEU7eeRRRZK"
authorize_url: "https://auth.kosher-fen.info/authorize"
token_url: "https://auth.flustered-ostrich.com/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}