Appearance
237 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "saml"
# Token settings
jwt: {
secret_key: "U0NzTa8FYNGA4CSprkhbKni3pCmS0i9k"
algorithm: "HS256"
expiry: "1h"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "xyVOirkRH2lERaYYxiH3sNzN"
authorize_url: "https://auth.chubby-igloo.info/authorize"
token_url: "https://auth.fuzzy-premise.name/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}