Example 14540

Auth Config

Authentication and authorization settings.

{
provider: "oidc"
# Token settings
jwt: {
secret_key: "KYjuTDRAgIzgR4bkBwLdoVLWFPOlZ5yD"
algorithm: "ES256"
expiry: "7d"
refresh_expiry: "90d"
}

# OAuth provider
oauth: {
client_id: "QeWoofAuymtrJXXxGfDMx63x"
authorize_url: "https://auth.ill-fated-flat.info/authorize"
token_url: "https://auth.unsung-manner.org/token"
scopes: [
"openid"
"profile"
"email"
]
}

session: {
store: "memory"
cookie_name: "sid"
secure: true
http_only: true
}
}

See also