<?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>Unable to map custom attributes when using OAuth2.0 SSO</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122680598" />
  <subtitle>Unable to map custom attributes when using OAuth2.0 SSO</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122680598</id>
  <updated>2026-04-04T13:30:19Z</updated>
  <dc:date>2026-04-04T13:30:19Z</dc:date>
  <entry>
    <title>RE: RE: Unable to map custom attributes when using OAuth2.0 SSO</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122687310" />
    <author>
      <name>Dániel Vetési</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122687310</id>
    <updated>2024-05-31T11:20:53Z</updated>
    <published>2024-05-30T15:00:15Z</published>
    <summary type="html">&lt;p&gt;Hi Zsigmond,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have set up a new custom field (text type, MobileNumber), for the
  users of the portal on the control panel, then tried to map it at
  OAuth Client Administration -&amp;gt; OpenId Connect User Information
  Mapper JSON like this:&lt;/p&gt;
&lt;p&gt;I could not seem to find any exception in the log.&lt;/p&gt;</summary>
    <dc:creator>Dániel Vetési</dc:creator>
    <dc:date>2024-05-30T15:00:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unable to map custom attributes when using OAuth2.0 SSO</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122686570" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122686570</id>
    <updated>2024-05-30T08:41:52Z</updated>
    <published>2024-05-30T08:41:52Z</published>
    <summary type="html">&lt;p&gt;Hi Dániel,&lt;/p&gt;
&lt;p&gt;Could you please share specific steps that you take to make it work?
  I mean the exact config you use and the mapping you try to apply. Is
  there any exception in the log when a user data transfer should happen?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br&gt; Zsigmond&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2024-05-30T08:41:52Z</dc:date>
  </entry>
  <entry>
    <title>Unable to map custom attributes when using OAuth2.0 SSO</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122680597" />
    <author>
      <name>Dániel Vetési</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122680597</id>
    <updated>2024-05-28T09:55:24Z</updated>
    <published>2024-05-27T13:15:03Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We use OAuth2 client (Keycloak) for SSO in Liferay, and we would like
  to map some custom attributes from Keycloak users to the Liferay user
  equivalent. We are using the Json mappers but have been unable, to
  coreectly map them, beacuse the in the portal code it appers that
  there is no function behind the mapping.&lt;/p&gt;
&lt;p&gt;We are using Portal 7.4.&amp;nbsp;&lt;/p&gt;</summary>
    <dc:creator>Dániel Vetési</dc:creator>
    <dc:date>2024-05-27T13:15:03Z</dc:date>
  </entry>
</feed>
