Skip to content

[extension/oidcauthextension] oidc ignore client/audience support #39595

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

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

zeck-ops
Copy link
Contributor

@zeck-ops zeck-ops commented Apr 23, 2025

A second attempt after my neglect of this old PR.
I do apologize for the inconvenience.
Finally got the CLA figured out! Made a draft PR first this time to check.

Adds support for ignoring the audience/clientid in OIDC.
go-oidc has a config option for this, and the PR lets the collector use it.

Fixes #36568

I built a custom collector, and tested with a couple of aws cognito app id / client ids and JWTs from them with and without the option enabled. Also added a unit test.

@zeck-ops zeck-ops marked this pull request as ready for review April 23, 2025 20:12
@zeck-ops zeck-ops requested a review from a team as a code owner April 23, 2025 20:12
@zeck-ops zeck-ops requested a review from fatsheep9146 April 23, 2025 20:12
@atoulme
Copy link
Contributor

atoulme commented Apr 24, 2025

This was approved back then, lgtm.

@atoulme atoulme added ready to merge Code review completed; ready to merge by maintainers and removed ready to merge Code review completed; ready to merge by maintainers labels Apr 24, 2025
@atoulme
Copy link
Contributor

atoulme commented Apr 24, 2025

Please check the CI

@atoulme atoulme merged commit 2a0fcfa into open-telemetry:main Apr 29, 2025
173 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 29, 2025
vincentfree pushed a commit to ing-bank/opentelemetry-collector-contrib that referenced this pull request May 6, 2025
…en-telemetry#39595)

A second attempt after my neglect of this old
[PR](open-telemetry#36569).
I do apologize for the inconvenience.
Finally got the CLA figured out! Made a draft PR first this time to
check.

Adds support for ignoring the audience/clientid in OIDC.
go-oidc has a [config
option](https://github.com/coreos/go-oidc/blob/v3/oidc/verify.go#L94)
for this, and the PR lets the collector use it.

Fixes
open-telemetry#36568

I built a custom collector, and tested with a couple of aws cognito app
id / client ids and JWTs from them with and without the option enabled.
Also added a unit test.
vincentfree pushed a commit to ing-bank/opentelemetry-collector-contrib that referenced this pull request May 20, 2025
…en-telemetry#39595)

A second attempt after my neglect of this old
[PR](open-telemetry#36569).
I do apologize for the inconvenience.
Finally got the CLA figured out! Made a draft PR first this time to
check.

Adds support for ignoring the audience/clientid in OIDC.
go-oidc has a [config
option](https://github.com/coreos/go-oidc/blob/v3/oidc/verify.go#L94)
for this, and the PR lets the collector use it.

Fixes
open-telemetry#36568

I built a custom collector, and tested with a couple of aws cognito app
id / client ids and JWTs from them with and without the option enabled.
Also added a unit test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[extension/oidcauthextension] Fixes oidc extension skip client id check
2 participants