Total Pageviews

Tuesday, August 3, 2021

github integration with ADFS using SAML "failure - Invalid SAML response" '["Digest mismatch"]'

 ADFS and Github SAML integration error

Error

"failure - Invalid SAML response" '["Digest mismatch"]'


Solution:

This error is a SAML integration error and it can occur during any application SAML integration. The real cause of this error is due to the Certificate miss-match. The issue was Github had a different certificate than the IDP certificate. make sure you download the correct certificate from the ADFS side or if you don't know which certificate, you can copy the certificate from the IDP file and upload the certificate (after decrypting) to the GitHub side. Also, make sure the IDP encryption is checked on the GitHub site and the certificate is showing correct values after uploading into GitHub.


other issues could be, the user does not exist on the GitHub side(user has to be present in Github users directory) or the right roles are not being passed.


No comments:

Post a Comment