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

Mapping with existing user not working in oAuth Custom authentication handler after upgrade

Avatar

Avatar
Validate 1
Level 2
Nishant_Rai
Level 2

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 2
Nishant_Rai
Level 2

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
Nishant_Rai
Level 2

15-04-2019

After upgrading from AEM 6.3 to AEM 6.5, my custom oAuth authentication is not working. The issue I found is oAUth handler is not able to map requested user with the user already present in CRX and returns "user not found" and authentication fails. Users I have migrated from AEM 6.3 to AEM 6.5.

Also in AEM 6.3, my custom oAuth provider was using the default "sync handler" and "external login module" but after the upgrade, I can see separate sync handler and external login module created for my OAuth provider but I didn't write any.

AEM 6.5 configurations -

1733184_pastedImage_2.png

1733173_pastedImage_0.png

1733183_pastedImage_1.png

AEM 6.3 with the default setting only  -

1733185_pastedImage_3.png