Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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

View solution in original post

3 Replies

Avatar

Community Advisor

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

Avatar

Level 2
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.

Avatar

Correct answer by
Community Advisor

@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