Need to integrate client with aem which has oauth enabled | Community
Skip to main content
Adobe Employee
March 25, 2020
Solved

Need to integrate client with aem which has oauth enabled

  • March 25, 2020
  • 1 reply
  • 868 views

Hi,

 

We use AEM as a CMS in a C/C++ based product.

we used the traditional username/password approach.

 

we need to integrate the oauth mechanism into our product.

We do not have any custom plugin/packages for AEM written.

 

  1. For login we open a Chromium CEF browser and ask the user to login
Approaches we tried were
  1. uses auth_code from browser and , get access token and use it as a Authorization Bearer token.
  2. uses the entire cookie and extract token and set it as Authorization Bearer 
  3. enable token as request parameter 
  4. set cookie after reading it from the CEF data base
But none of them are working
1,2,3 are giving unauthorized and 4 is giving header too large.
 
How can we use our client with an oauth enabled aem instead of using username and passsword for accessing the normal fucntionalitied e.g to ge the metadata we use 
 
The aem server is inhouse/local
 
Any help/documentation would be great
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 vanegi

The AEM OAuth server functionality support this directly(AEM as a OAuth server) - Refer https://youtu.be/kk945DABg8Y for more details.

 

Refer https://medium.com/@techforum/social-login-with-linkedin-adobe-experience-manager-aem-53c38ce22780 if you want to enable custom OAuth provider integrations(AEM as OAuth Client).

1 reply

vanegi
Adobe Employee
vanegiAdobe EmployeeAccepted solution
Adobe Employee
July 14, 2020

The AEM OAuth server functionality support this directly(AEM as a OAuth server) - Refer https://youtu.be/kk945DABg8Y for more details.

 

Refer https://medium.com/@techforum/social-login-with-linkedin-adobe-experience-manager-aem-53c38ce22780 if you want to enable custom OAuth provider integrations(AEM as OAuth Client).