Example 8224
Auth Config
Authentication and authorization settings.
{
provider: "jwt"
# Token settings
jwt: {
secret_key: "Q0FMKxbbvvJKWY4VQOknP5jQ5HQbAqCK"
algorithm: "ES256"
expiry: "24h"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "LOq8G8bCwtmvXrM9btLM2Vqd"
authorize_url: "https://auth.awesome-pacemaker.info/authorize"
token_url: "https://auth.putrid-cutover.name/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}