Skip to content
Playground(another site)

bynk.actor.oidc_missing_issuer

Error An Oidc actor does not name its issuer.

A valid signature shows that some key signed a token, not that your provider issued it. An Oidc actor therefore names its issuer, the iss claim a token must carry, and refuses any other. Add issuer = "…" with the provider's issuer URL. The other required settings have their own codes, bynk.actor.oidc_missing_audience and bynk.actor.oidc_missing_jwks.

Example

type UserId = String where NonEmpty
actor User { auth = Oidc(audience = "my-api", jwks = "https://issuer.example/jwks"), identity = UserId } // ✗ no issuer
actor User { auth = Oidc(issuer = "https://issuer.example", audience = "my-api", jwks = "https://issuer.example/jwks"), identity = UserId } // ✓ the `iss` a token must carry

In the Book

See also

  • Every code in its category, Actors, on the diagnostic index.
  • bynk explain bynk.actor.oidc_missing_issuer shows the same from the installed toolchain, without a network.