Hello @Alok Aswal ,
Thank you for posting your query on Microsoft Q&A. The issue seems to be with your "Metadata" URL.
Item Key="METADATA">https://tenant.b2clogin.com/tenant.onmicrosoft.com/v2.0/.well-known/openid-configuration?p=POLICYNAME</Item>
As per https://learn.microsoft.com/en-us/azure/active-directory-b2c/id-token-hint#metadata, METADATA is "A URL that points to a token issuer configuration document, which is also known as an OpenID well-known configuration endpoint" i.e. your relying party discovery endpoint. Kindly have this replaced with it.
For example, in my case FB is relying party so, the meta data URL could be found from the Signup-Signin:
Please do let me know if you have any further queries in the comments section.
Thanks,
Akshay Kaushik
Please "Accept the answer", "Upvote" and rate your experience if the suggestion works as per your business need. This will help us and others in the community as well.