@MysticsDen Thank you for posting your query on Microsoft Q&A.
From the above code snippet I could see that you have passed all 3 segments in "Instance".
Kindly use the following syntax:
"AzureAdB2C": {
"Instance": "https://contoso.b2clogin.com/tfp/",
"ClientId": "...",
"CallbackPath": "/signin-oidc",
"Domain": "contoso.onmicrosoft.com",
"SignUpSignInPolicyId": "...",
"ResetPasswordPolicyId": "...",
"EditProfilePolicyId": "..."
},
Here "Instance" should not contain anything beyond tfp, the other 2 segment values are passed in "Domain" and "Policy names". Every time policy is called the URL will be formed after fetching info from defined parameters.
I was able to test this in my lab :
and got the tfp value as "signupsigninpolicyId" in the claims
Please do let me know if you have any further queries in the comments section.
Thanks,
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion works as per your business need. This will help us and others in the community as well.