samples
samples copied to clipboard
Okta IDP Error: the subject claim 'sub' which is missing in the claims collection.
Hello,
I am trying to follow this tutorial to implement Okta as an IDP for B2C. https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-generic-openid-connect?pivots=b2c-custom-policy
I receive the following error: 'B2C_1A_DisplayControl_SignUp_Signin' policy in 'externalusersprod.onmicrosoft.com' specifies the subject claim 'sub' which is missing in the claims collection.
Not sure if the issue is with the custom policy or perhaps the Okta app registration configuration. Any help will be appreciated!
Thank YOu, Bill
SignUp_Signin Policy
OKTAK CLAIM PROVIDER
I suggest trying to debug with application insights: https://learn.microsoft.com/en-us/azure/active-directory-b2c/troubleshoot-with-application-insights?pivots=b2c-custom-policy
To see where it's failing (much easier if you setup Visual Studio Code as well). I think this may be related to an issue i'm having: https://github.com/azure-ad-b2c/samples/issues/567