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
Unable to map custom attributes when using OAuth2.0 SSO
Hi,
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.
We are using Portal 7.4.
Hi Dániel,
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?
Regards,
Zsigmond
Hi Zsigmond,
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 -> OpenId Connect User Information Mapper JSON like this:
I could not seem to find any exception in the log.
Powered by Liferay™