I use Auth0 Deploy CLI (version 7.3.1) to manage Auth0 configurations locally using a YAML file. Today, I exported the YAML settings with the a0deploy command to check if there were any differences with the Auth0 configurations. I compared this with a local YAML file that was created a year ago. Then, I noticed that there were differences in the values of this “thumbprints” field. The differences are as follows:
- name: ms-azure-ad
- - 9CEA37643ACE0D710AD63296857B251D1FCA5C48
+ - F8A23743D9CD47B6D1A1FC66799A17A9B1D919EC
I have three questions:
(1) What is this “thumbprints” field?
(2) Who updates this “thumbprints” field and when does it get updated?
(3) Should the local YAML file also be updated to match if the “thumbprints” have been updated on Auth0’s side?
For the third question, I am concerned that using a YAML file specified with old thumbprints for import with a0deploy might cause an error in the connection with Azure AD.
These thumbprints are based on the certificates stored on the Azure AD side. Auth0 reaches out to Azure daily to update that list of thumbprints based on the available certificates being used by Azure since they can be rotated without notice. Even though the Azure AD connection is using the OIDC protocol, that protocol will make use of thumbprints/certificates since it will need those values to validate the signature in the issued JWT tokens.
It is recommended to keep that list of ‘thumbprints’ intact during imports/exports since without those values, you would likely begin seeing issues with the connection due to thumbprints either being missing or miscalculated.