FIIDA 中文 Contact
Home / Engineering Docs / JWT and service identity

JWT and service identity

A valid signed token can identify its issuer, intended service and expiry. Permission to reach a booking endpoint still leaves an important question open. May this service cancel this reservation for this store? Answering it takes resource ownership, tenant context and business permissions.

What happens during key rotation?

With public-key JWT verification, the key identifier helps the receiver select a public key from the configured issuer’s key set. Old and new keys can overlap during rotation. An authentication failure can be narrowed down by examining issuer, audience, allowed algorithm, key availability and validity times. A failure category and request ID are useful in logs. The full token is itself a credential.

Two authenticated requests can still represent one cancellation retried after a timeout. A token identifier concerns the credential. A stable operation identifier lets the booking service return the outcome of an already completed cancellation.

Related site sections

Back to Engineering Docs