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

support AD FS #7140

Merged
merged 2 commits into from
Sep 1, 2023
Merged

support AD FS #7140

merged 2 commits into from
Sep 1, 2023

Conversation

butonic
Copy link
Member

@butonic butonic commented Aug 29, 2023

AD FS /adfs/.well-known/openid-configuration has an optional access_token_issuer which, in violation of the OpenID Connect spec, takes precedence over issuer.

Even MS had to patch its own clients: https://jpassing.com/2022/02/04/using-adfs-access-tokens-for-workload-identity-federation/

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Copy link
Contributor

@rhafer rhafer left a comment

Choose a reason for hiding this comment

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

sigh 😞 ☠️ 💩 💣

I guess we have to ...

ocis-pkg/oidc/client.go Outdated Show resolved Hide resolved
Co-authored-by: kobergj <[email protected]>
@butonic butonic requested a review from kobergj August 29, 2023 15:24
@sonarcloud
Copy link

sonarcloud bot commented Aug 30, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@butonic butonic merged commit f1d09af into master Sep 1, 2023
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the access_token_issuer branch September 1, 2023 13:25
ownclouders pushed a commit that referenced this pull request Sep 1, 2023
* support AD FS

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>

* drop unnecessary else

Co-authored-by: kobergj <[email protected]>

---------

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Co-authored-by: kobergj <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants