Example 4521
Auth Config
Authentication and authorization settings.
{
provider: "oidc"
# Token settings
jwt: {
secret_key: "ms0qGlDoUtI7sj7yvy1GolvnObOC1vCJ"
algorithm: "ES256"
expiry: "1h"
refresh_expiry: "30d"
}
# OAuth provider
oauth: {
client_id: "m6BJc1otEFhMJqdthA0grLUD"
authorize_url: "https://auth.ultimate-coil.org/authorize"
token_url: "https://auth.defenseless-ice-cream.org/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "redis"
cookie_name: "sid"
secure: true
http_only: true
}
}