Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Azure AD B2C - Missing or invalid "sub" claim
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.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™