Highlighted

OAuth Implementation on AEM 6.4 for APIs

akshat_jain09

25-04-2019

Hi There,

I am trying to implement OAuth authentication for my custom APIs.

I am able to authorize the request using clint ID, get the code and generate token using the code and Client secret.

The issue I am getting is while I hit the authorize URL with my Client ID, I have to provide a redirect URL, which on hitting, pops up a UI asking for AEM credentials followed by a popup asking to authorize that request which then redirects me to that mentioned URL appended with the code.

But, I want to use all this using system which will not be able to do any manual task on UI.

So, is there a way to get the code in response of the authorize URL directly without need of any manual tasks on UI.

i.e. if we can overlay the OOTB authorize API to customize its response.

Replies

Highlighted

akshat_jain09

28-04-2019

I have gone through these links already.

We are able to proceed on the implementation but the UI is creating a blocker for us.

Can you please suggest if the "Yes I authorize" part can be skipped in some way??

Highlighted

akshat_jain09

18-06-2019

Hi Santosh,

We had to drop this requirement since Adobe day care confirmed that there is no way possible to skip the UI verifictaion from AEM fro OAuth.