Read SAML received from Okta | Community
Skip to main content
Level 2
October 31, 2020
Solved

Read SAML received from Okta

  • October 31, 2020
  • 1 reply
  • 1724 views

Hi,

 

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by AlbinIs1

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-e2035021cb9e 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.

Regards

Albin I

www.albinsblog.com

1 reply

AlbinIs1Community AdvisorAccepted solution
Community Advisor
October 31, 2020

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-e2035021cb9e 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.

Regards

Albin I

www.albinsblog.com

Level 4
November 1, 2020
I don't believe you need to create a Post Processor as you can map the fields in the SAML Configuration as properties to the user profile node.