Direct login to the aem from third-party web application which is non AEM site using valid credentials | Community
Skip to main content
Level 2
September 10, 2020
Solved

Direct login to the aem from third-party web application which is non AEM site using valid credentials

  • September 10, 2020
  • 2 replies
  • 1664 views

Is there any API integrations for web applications to directly login into the AEM from third-party web application which is non AEM.

 

Also, kindly suggest any alternate options.

User can use AEM login screen & direct login implementations mentioned above.

 

Thanks in Advance!

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 Fanindra_Surat

@karthik-elumalai  You can access AEM author only with a valid authentication.

 

If not with SSO, you can use usernames and corresponding passwords to reach AEM author.

Basic Auth is the simplest. Add  a "Authorization" header to your request to AEM author with value "Basic Base64(uname:pwd)".

 

Base64(uname:pwd) = Base64 encoded value of the string aem_username:password

2 replies

Shashi_Mulugu
Community Advisor
Community Advisor
September 11, 2020

@karthik-elumalai thank you for posting in Communities. Great place to learn, collaborate. So as per your question, you want to provide aem author link in a third party application and user upon clicking the link directly should login to aem author without further login screen?

 

Where is the third party application hosted? Please explore the option of using SSO(Single Sign On) which will enable access multiple applications with a single sign on to any application under its configuration.

 

AEM supports almost any SSO IDPs.

 

If you are not looking for SSO , please help us with more details..

Level 2
September 14, 2020
Hi Shashi, Thanks for your response! Kindly refer details below, Q: So as per your question, you want to provide aem author link in a third-party application and user upon clicking the link directly should login to aem author without further login screen? A: Yes, also we have already enabled SAML based authentications in both systems, but if I am accessing AEM author URL from third party applications its asking authentication again in AEM. Both applications hosted in different domains and different servers.
Fanindra_Surat
Community Advisor
Fanindra_SuratCommunity AdvisorAccepted solution
Community Advisor
September 15, 2020

@karthik-elumalai  You can access AEM author only with a valid authentication.

 

If not with SSO, you can use usernames and corresponding passwords to reach AEM author.

Basic Auth is the simplest. Add  a "Authorization" header to your request to AEM author with value "Basic Base64(uname:pwd)".

 

Base64(uname:pwd) = Base64 encoded value of the string aem_username:password