Entra ID: Bearer error="invalid_token", error_description="The signature key was not found"

Igor Bobro 0 Reputation points
2024-03-11T10:56:27.5166667+00:00

I have configured the entra ID in the Azure portal and in my Web API tenant. I can successfully obtain the access token, but when I use it with my Web API request, I get this error: Bearer error="invalid_token", error_description="The signature key was not found". I checked this token on jwt.io and there seems to be something wrong with the signature part of the token that came to me from Entra ID.
User's image

This application in the Azure portal was not created by my own. I tried creating a new one myself and everything works fine. I double checked every setting and everything seems similar.

What could be causing this problem? Could be the problem with Entra ID configuration on azure portal?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.