I have integrated my local AEM with Okta. I am receiving the SAML respond with configured custom attributes.
Seeking guidance to read and display those attribute in one of the component. Can anyone let me know how can I read the SAML in controller of the component.
Create an AuthenticationPostProcessor to parse the samlresponse after successful authentication and store the values to the user profile, the profile data can be used later in any of the components.
Refer https://techforum.medium.com/adobe-experience-manager-reporting-on-users-last-login-date-e2035021cb9... for enabling the Custom AuthenticationPostProcessor and storing the values to the user profile.
Refer https://apoorva-ganapathy.blogspot.com/2016/08/aem-processing-saml-response-using.html for processing the samlresponse.