Getting oAuth Code by program
Hello,
We are trying to build some extension to underlying Adobe lms by building a in house we app. We have done the application setup and got the application id and secret key.
Now in the course of integration with Captivate Prime api's we need to do an oAuth authorization. There is a browser based URL provided in the documentation that embeds a redirection url - GET https://captivateprime.adobe.com/oauth/o/authorize?client_id=<Enter your clientId>&redirect_uri=<Enter a url to redirect to>&state=<Any String data>&scope=<one or more comma separated scopes>&response_type=CODE.
This typically works on a browser but not with a program - rightly so as oAuth would require re-direction. Also the oAuth code generated is pretty short-lived.
So our problem is how do we, through a program, do a oAuth authorization without redirection? Or if there is no alternative to redirection - how do we increase the time span of oAuth token so our api's work synchronously?
Thanks and Regards,
Jatin Sutaria
