Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explicitly require OIDC audience for the OIDC authenticator #329

Open
wants to merge 1 commit into
base: sig-auth-acceptance
Choose a base branch
from

Conversation

stlaz
Copy link
Collaborator

@stlaz stlaz commented Nov 28, 2024

Fixes: #318

@stlaz stlaz added the sig-auth-acceptance issues created during review for sig-auth-acceptance label Nov 28, 2024
@stlaz
Copy link
Collaborator Author

stlaz commented Nov 28, 2024

@enj I don't think we want the OIDC authenticator to be audience agnostic in this case, instead we should require specific audience.
I would expect audience agnosticism to be required only in the case of the delegated authenticator.

@enj
Copy link

enj commented Dec 17, 2024

@enj I don't think we want the OIDC authenticator to be audience agnostic in this case, instead we should require specific audience. I would expect audience agnosticism to be required only in the case of the delegated authenticator.

@stlaz #343 (comment)

Comment on lines +50 to +52
if len(o.RequiredAudience) == 0 {
errs = append(errs, fmt.Errorf("oidc-required-audience must be set when `oidc-issuer` is configured"))
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be included in #343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig-auth-acceptance issues created during review for sig-auth-acceptance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants