Lossing Path during Oath 2.0 | Community
Skip to main content
March 8, 2022
Solved

Lossing Path during Oath 2.0

  • March 8, 2022
  • 1 reply
  • 779 views

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 

 

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 Pallavi_Shukla_

 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-adobe-granite-oauth/m-p/353341

1 reply

Pallavi_Shukla_
Community Advisor
Pallavi_Shukla_Community AdvisorAccepted solution
Community Advisor
March 9, 2022

 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-adobe-granite-oauth/m-p/353341