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.