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
RE: Override Open Id Connect to use ScreenName instead of Email
Hello,
I would like to user OpenId Connect on my portal DXP 7.4. It
doesn't work because my database email is not up to date with provider
database email.
So i would like to connect using screenname but liferay does not
enabled it.
A solution would be to override OIDCUserInfoProcessor.java classe
(com.liferay.portal.security.sso.openid.connect.internal.OIDCUserInfoProcessor)
In this class, a method called "processUserInfo" check if
user exist by get it by email. I would like to modify it and get it by screenname.
Is there a way to override this method ?
Thanks !
Hi Sébastien,
I think you can use the options what the OSGi framework gives.
Regards,
Zsigmond
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™