Receiving error_description="The signature key was not found" from API call when hosting on one App Service, but not when I run same app locally or on different Azure App Services.

Colgrove, Steven 0 Reputation points
2024-08-14T14:54:45.9866667+00:00

I have an API application that I am trying to get configured to work with a new client application. I have everything set up to work when I run it locally, on a separate Dev App Service, and on a "staging" slot of my Production App Service. However, when I swap (or push directly) to my Production App Service I receive an error when trying to consume the API: Bearer error="invalid_token", error_description="The signature key was not found".

I have checked various configurations and everything appears to be the same and the code running should be the same... What might be causing this issue?

Developer technologies | ASP.NET | ASP.NET Core
Windows for business | Windows Client for IT Pros | Directory services | Active Directory
{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.