Example 13237

Auth Config

Authentication and authorization settings.

{
provider: "oidc"
# Token settings
jwt: {
secret_key: "fnUNPTGQf5u3tgR1BE31NiWGvtdTD5ej"
algorithm: "RS256"
expiry: "7d"
refresh_expiry: "7d"
}

# OAuth provider
oauth: {
client_id: "W2VkgwWXMfoM2f6UaEoL1kcz"
authorize_url: "https://auth.submissive-junior.info/authorize"
token_url: "https://auth.slimy-technician.name/token"
scopes: [
"openid"
"profile"
"email"
]
}

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

See also