I'm trying to handle the AddMicrosoftIdentityWebApp in .NET 8 (Blazor Web App) with Azure AD B2C.
I have some CustomPolicy that should be okay. But after clicking local account login, I got the following error.
IDX10500: Signature validation failed. No security keys were provided to validate the signature.
Where can i add/find this security key or what is it?
Check to make sure your Authority is configured as something like:
This leads to it downloading OpenID configuration from:
That document contains the
jwks_uriwhere the signing keys are. Typically the libraries should handle all this for you. I don't have time right now to check how exactly that API works that you are using. But ultimately the above is what it needs to end up at.