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

Use SHA256 thumbprints in non-ADFS cert flows #840

Merged
merged 3 commits into from
Jul 23, 2024

Conversation

Avery-Dunn
Copy link
Collaborator

Updates the internal thumbprint method for certificate flows from SHA-1 to SHA-256, as per #760

ADFS scenarios must still use SHA-1 until SHA-256 is supported server-side.

@Avery-Dunn Avery-Dunn requested a review from a team as a code owner July 14, 2024 15:49
@@ -160,7 +160,7 @@ private ClientAssertion getClientAssertion(String clientId) {
clientId,
(ClientCertificate) certificate,
"https://login.microsoftonline.com/common/oauth2/v2.0/token",
true);
true, false);
Copy link
Member

Choose a reason for hiding this comment

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

Am I correct in understanding that the existing tests cover the following?

  • AAD + sha2
  • ADFS + sha1

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.

2 participants