Appearance
923 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "saml"
# Token settings
jwt: {
secret_key: "wTS1OnBUxbRwJKzqC6LT8SLvUJCIZrUX"
algorithm: "RS256"
expiry: "24h"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "Vrxg9WZNF2P0sP0fbSICTWEM"
authorize_url: "https://auth.awful-kick.net/authorize"
token_url: "https://auth.mixed-petticoat.biz/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "redis"
cookie_name: "sid"
secure: true
http_only: true
}
}