error cluster-auth
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#
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") }.