Example 14522
Auth Config
Authentication and authorization settings.
{
provider: "oidc"
# Token settings
jwt: {
secret_key: "fhfYOUxhWiQM7HnvlaR8hQAL3C5FrtmG"
algorithm: "ES256"
expiry: "1h"
refresh_expiry: "90d"
}
# OAuth provider
oauth: {
client_id: "rVihdQ6HJqsHDfDGy9VpNMci"
authorize_url: "https://auth.selfish-veto.com/authorize"
token_url: "https://auth.yearly-disappointment.com/token"
scopes: [
"openid"
"profile"
"email"
]
}
session: {
store: "database"
cookie_name: "sid"
secure: true
http_only: true
}
}