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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Lossing Path during Oath 2.0

Avatar

Level 1

Hello everyone 

 

I'm having problems with the version 6.5.10 I recently update to this version I was on version 6.5.3 and my Oauth was working correctly let me explain.

On the old version I got a callback with the path for example (www.domain.com/content/testpage.html/callbakc/j_security_check) but now with the version 6.5.10 I got www.domain.com/callback/j_security_check it's almost the same but lost the path during the authentication, my code didn't have any change and I saw that the way that is being created is on a package from adobe that is com.adobe.granite.auth.oauth.impl.oauth2 i'm not exactly sure what they change but my oath is not working.

have you experience something like this? 

do you have any suggestions for this?

is this a bug or a expected behaviour 

config of the callbakconfig of the callbak

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

 AEM has hardcoded callback URL to "/callback/j_security_check". So keep this empty and make sure to add "/callback/j_security_check" in your app's allowed Redirect URIs as well.

 

Moreover hope you are able to see OAuth packages in the latest aem 6.5.10 version:

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-5-3-upgrade-com-adob...

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

 AEM has hardcoded callback URL to "/callback/j_security_check". So keep this empty and make sure to add "/callback/j_security_check" in your app's allowed Redirect URIs as well.

 

Moreover hope you are able to see OAuth packages in the latest aem 6.5.10 version:

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-5-3-upgrade-com-adob...