Jwt token Issuer validation failed

SATYA PAVANKUMAR 40 Reputation points Microsoft Employee

Our project involves a static website that uses ReactApp for the frontend and connects to APIM APIs through APIM Management integration with the static web app. We also implemented an authentication mechanism for the website using Azure AAD B2C that has Custom Policies for signup,signin,signout etc.,

We created app registration for static web app in B2C and set the "acceptedVersion" to 2 in the manifest file. On APIM, we use the "validate-Jwt" policy to verify the B2C token.

The token generation was success however its getting failed at APIM validation.

IDX10205: Issuer validation failed. Issuer: 'https://identity.2.azurestaticapps.net/.auth'. Did not match: validationParameters.ValidIssuer: '' or validationParameters.ValidIssuers: 'https://identity.4.azurestaticapps.net/.auth'.


Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,748 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,841 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
762 questions
{count} votes