OxL Reference

error cluster-auth

error Standard: [§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✓ checked in 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 · Documentation version 1.0.0-beta© OxwaldLink · generated from the Standard, the std sources and the guides