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
Liferay 7.2 - Openid logout
Hi guys,
We're using Openid to authenticate, and its working fine. We want to implement the logout from SSO while a user logs out from Liferay. It seems that Liferay doesnt support that OOTB so we're looking to customize it.
Based on https://github.com/fabian-bouche-liferay/oidc-userinfo-mapping/blob/new/modules/us[…]idc/userinfo/mapping/action/OIDCRoleMappingPostLoginAction.java, we implemented that mechanism and are able to retrieve some openid user data like access_token. But, we're looking on a way to retrieve the id_token. The id_token is required to logout from SSO. Any idea ? OpenIdConnectSession does not seem to have a method getIdToken.
Thanks,
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™