Azure AD B2C - Missing or invalid "sub" claim

Jamie Sammons, modified 2 Years ago. New Member Posts: 10 Join Date: 10/18/22 Recent Posts

Hi,

Need help on config Open ID Connect with Azure AD B2C 

I was testing a local copy of 7.4.3.45 CE GA45 with Azure AD B2C over OpenID Connect. I got redirected back with the code (authentication) but with the following error:
 

2022-10-18 19:39:01.148 ERROR [http-nio-8080-exec-2][StatusDisplayContext:92] Error: Unable to parse user information response from https://xxxx.b2clogin.com/xxxx.onmicrosoft.com/openid/v2.0/userinfo?p=b2c_1a_signup_signin: Couldn't parse UserInfo claims: Missing or invalid "sub" claim


I tested with Postman. I can use the code returned to exchange an access token and can use the access token to access UserInfo.