Kentico 13 WIF Auth Fail

Matthew Butler asked on July 4, 2024 16:14

Our admin site is setup with Azure AD authentication which works fine, the only issues is every couple of weeks the authentication fails with the WIF_AUTH_FAIL and we have to fetch the new certificate and generate a new thumbprint. Any way to prevent this?

Correct Answer

Juraj Ondrus answered on July 5, 2024 04:55

Which occurrence of the < X509Certificate > XML element are you using? I am using the first one as mentioned in this KB article and it works fine for me for years. However, it is just testing certificate I have. If Azure is rotating the certs, then this is not really a Kentico thing. You can create e.g. some scheduled task which will be rotating the settings value too. Or, you can use fully custom external authentication and ensure entire logic on your own. And, I have found also this article which might be helpful.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Matthew Butler answered on July 5, 2024 10:00

Thank you. We are using the first occurrence. I will investigate a custom approach. Thank you.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.