Appearance
837 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "jwt"
# Token settings
jwt: {
secret_key: "R7f2N4hDTu6FB6zz1zGMSOL6BHbPGRGM"
algorithm: "HS256"
expiry: "24h"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "f26YFaRjR4lF7Atfv9WROlVB"
authorize_url: "https://auth.appropriate-bookcase.net/authorize"
token_url: "https://auth.awesome-pepper.info/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}