You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
jwt.Credentials only works for a single audience at a time and must have knowledge of the audience beforehand. gRPC APIs, however, may not be able to determine the audience beforehand so JWTs should be generated on-demand during the before_request callback.
We previously had this behavior as part of jwt.Credentials, but it was removed because it made the behavior of the class ambiguous. This feature request is to bring that functionality back as a separate class jwt.OnDemandCredentials.
This class:
Doesn't accept an audience argument in its constructor.