Allow OIDC flow to ignore aud
claim for a specific issuer
#20829
Labels
type/enhancement
The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Search before asking
Motivation
I'm using apache pulsar 3.0.0 and using OIDC authentication flow. when using ServiceAccount as a OIDC token, the token projected to a Secret isn't same as token that is projected to a pod.
the above is a decoded jwt token from the Secret projected service account token.
as you see, there's no
aud
claim, and theiss
claim is different compared to the issuer we get from the k8s api OIDC endpoint.Solution
to avoid this issue, we need a option to ignore
aud
claim check for specific allowed issuers.Alternatives
currently I'm using custom auth class to avoid the issue.
Anything else?
related: streamnative/pulsar-resources-operator#125
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: