Appearance
930 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "oauth2"
# Token settings
jwt: {
secret_key: "kpzjyhxgrPWKIdoLEd0E25nyJI5dJNsm"
algorithm: "ES256"
expiry: "7d"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "6V1uEU7NqYNcfp48b11YXGz2"
authorize_url: "https://auth.sudden-topsail.name/authorize"
token_url: "https://auth.altruistic-thongs.org/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}