Liferay 7.4 OpenID Connect with Azure B2C

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

Hi, I am trying to setup Liferay 7.4 as SP with Azure B2C by OpenId Connect. The issue is one time you select opend id conectt on login page, is a redirect for your authorize URL configured in OpenID Connect Provider, the redirect is well, and Azure B2C can handle it, asking me for user/password. But one time the Sign in or Sign up process, Liferay try to parse this like if it were a access_token, but isn't. Apperently Liferay expect a access_token for the auth token endpoint configured in OpenID Connect Provider Section on Liferay, So I get an internal server error on Liferay. The error I see is: Error: Unable to parse tokens response from https://XXX.b2clogin.com/XXX.onmicrosoft.com/b2c_1a_signup_signin/oauth2/v2.0/token: Missing JSON object member with key "access_token"

 I have followed this: https://help.liferay.com/hc/en-us/articles/360028711312-Authenticating-with-OpenID-Connect