Appearance
836 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "oidc"
# Token settings
jwt: {
secret_key: "ing2LSaZN4Es2OylzR3Cq45pxnLxUBep"
algorithm: "HS256"
expiry: "1h"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "YIq3muJubhSyB5JhFFBvYN5J"
authorize_url: "https://auth.marvelous-subsidy.org/authorize"
token_url: "https://auth.puzzled-perfection.info/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "redis"
cookie_name: "sid"
secure: true
http_only: true
}
}