OxL Справочник OxL
РусскийEnglish

error cluster-auth

error Стандарт: [§12.1, §13.2]

Неверный провайдер аутентификации.

What it means#

auth { … } lists the providers that authenticate users: jwt(issuer: …, audience: …, jwks: …), oidc(issuer: …, clientId: …), apikey, session(cookie: …), and roles from claim("name") as AppRole that maps a claim to an enum of roles. jwt and oidc need issuer:; roles from … needs a provider that issues claims; every provider is listed once.

Example#

oxl✓ проверяется в CI
cluster demo {
  auth { jwt(audience: "shop") }   // <- cluster-auth
  role all { }
}
error
cluster-auth

How to fix#

Add the missing argument: auth { jwt(issuer: "https://auth.example.com") }.

See also#

OxL 1.0.0-beta · Версия документации 1.0.0-beta© OxwaldLink · сгенерировано из Стандарта, исходников std и руководства