<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>How to get the bearer token in Liferay after SSO login throught Azure B2C ?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121460299" />
  <subtitle>How to get the bearer token in Liferay after SSO login throught Azure B2C ?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121460299</id>
  <updated>2026-04-06T17:10:11Z</updated>
  <dc:date>2026-04-06T17:10:11Z</dc:date>
  <entry>
    <title>RE: How to get the bearer token in Liferay after SSO login throught Azure B2C ?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121461056" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121461056</id>
    <updated>2022-07-06T15:04:18Z</updated>
    <published>2022-07-06T15:04:15Z</published>
    <summary type="html">&lt;p&gt;Hi Manish,&lt;/p&gt;
&lt;p&gt;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?&lt;/p&gt;
&lt;p&gt;Is OAuth involved?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Zsigmond&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2022-07-06T15:04:15Z</dc:date>
  </entry>
  <entry>
    <title>How to get the bearer token in Liferay after SSO login throught Azure B2C ?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121460298" />
    <author>
      <name>Manish Kumar Jaiswal</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121460298</id>
    <updated>2022-07-03T19:04:18Z</updated>
    <published>2022-07-03T17:45:41Z</published>
    <summary type="html">&lt;p&gt;Hi there ,&lt;/p&gt;
&lt;p&gt;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 .&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Please suggest how can I get this ?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Manish&lt;/p&gt;</summary>
    <dc:creator>Manish Kumar Jaiswal</dc:creator>
    <dc:date>2022-07-03T17:45:41Z</dc:date>
  </entry>
</feed>
