Expand my Community achievements bar.

User authentication flow fails with "invalid_request" param


Level 1

I'm trying to setup the application that will execute calls to Adobe's Stock API on behalf of the user. In order to do that, I've setup a new project in Adobe's Developer Console, added credentials of type OAuth Single-Page App and as a result received a client_id. I've also setup redirect uri & redirect uri pattern for the integration.


Afterwards, I've tried to test the authorization flow by entering the IMS url in my browser: https://ims-na1.adobelogin.com/ims/authorize/v2?client_id=<client_id> (of course the real url I'm using contains actual client_id and not the placeholder). The outcome was that right away I received 302 response from the server that redirected me back to the default redirect_uri that I specified in the Developer Console with query param "error=invalid_scope" added. That is despite the documentation clearly stating that the scope query parameter is not needed.


I've tried modifying the url to include the scope: https://ims-na1.adobelogin.com/ims/authorize/v2?client_id=<client_id>&scope=openid,creative_sdk, but still the process doesn't show me the site to log me in and instead just redirects back to my default redirect_uri but this time with "error=invalid_request" query param. 


I've tried numerous variants of the url but I'm getting invalid_request all the time, here are a few attempts:




What am I doing wrong?


0 Replies