Example 3525
Auth Config
Authentication and authorization settings.
{
provider: "oidc"
# Token settings
jwt: {
secret_key: "CTEIgCKFrTDX62S04xYqbf7Kuh0v3dcx"
algorithm: "HS256"
expiry: "7d"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "pZ6k0BiqP13A2o00oN4730Xq"
authorize_url: "https://auth.smoggy-rubric.name/authorize"
token_url: "https://auth.altruistic-celsius.name/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}