RE: How to get the bearer token in Liferay after SSO login throught Azure B2C ?

Olaf Kock, modified 3 Years ago. New Member Posts: 2 Join Date: 6/22/22 Recent Posts

Hi there ,

I am using Liferay 7.4 DXP cloud and have implemented SSO throught Azure B2C in Liferay . Now I have to call few external rest APIs which need  the bearer token from Liferay which Liferay has recieved from Azure B2C while SSO .

Now my question is How to get the bearer token in Liferay after SSO login throught Azure B2C . I have tried to implement Pre and Post Login methods of Liferay and check the Headers by printing in logs temperarly . But I dont see the Bearer token there.

Please suggest how can I get this ?

Thanks in advance

Manish

thumbnail
Zsigmond Rab, modified 3 Years ago. Liferay Master Posts: 764 Join Date: 1/5/10 Recent Posts

Hi Manish,

What SSO have you implemented? How and what kind of external APIs you need the bearer token for? Are you allowed to share these information? In general, can you share anything further to make us understand the goul better?

Is OAuth involved?

Thanks,

Zsigmond