Appearance
1727 - Auth Config
Authentication and authorization settings. This is an example of a MAML document.
maml
{
provider: "jwt"
# Token settings
jwt: {
secret_key: "7ueb00WTUJC15RoiYa4bb3Ppg3OlwQF2"
algorithm: "RS256"
expiry: "1h"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "DzNF8dpPVckTMNsm56GZ2zAa"
authorize_url: "https://auth.near-strait.name/authorize"
token_url: "https://auth.lonely-halt.name/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}