Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Need to integrate client with aem which has oauth enabled

Avatar

Avatar
Validate 1
Level 1
tasunil1
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
tasunil1
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
tasunil1
Level 1

25-03-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct Reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct Reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
vanegi
Employee

14-07-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).

Answers (0)