Triggering https://ims-na1.adobelogin.com/ims/authorize/v1?response_type=code&client_id= returns invalid protocol | Community
Skip to main content
December 15, 2022
Question

Triggering https://ims-na1.adobelogin.com/ims/authorize/v1?response_type=code&client_id= returns invalid protocol

  • December 15, 2022
  • 1 reply
  • 6377 views

Hi Adobe I/O team,

 

I'm following your introduction to Adobe I/O Events Webhooks guide as I want to trigger a webhook call on certain events. However, every time I try to enable consent, as described here: https://github.com/AdobeDocs/adobeio-events/blob/stage/intro/webhooks_intro.md#receiving-events, I get the following error in postman: Invalid protocol: adobe+MY_CLIENT_ID. Any help would be greatly appreciated, since I'm a bit lost!

 

Rafael

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
December 16, 2022

Hi @rgala,

If you are trying the below consent request, make sure to do the following:

  1. Replace <api_key_from_console> with your own client-id.
  2. Make sure your client-id has the requested scopes. Notice how the consent request has the AdobeID, openid and creative_sdk scopes. One trick is to add the "Creative Cloud Libraries" API which basically adds the requested scopes to your client-id.
Adobe Employee
December 19, 2022

Interesting. I am not sure why that is happening then.

Can you share the request you are trying to execute? Also, have you tried once with the browser (maybe Postman is not able to understand the redirects).

rgalaAuthor
December 20, 2022

I think I understand what your problem is.

Are you trying the consent request with a Service Account (JWT) client-id? If yes, then can you try once with an oAuth based client-id.


Thanks! I gave it a quick try, but I don't have a redirect url. I get an error saying that it cannot find the redirect url when I trigger the consent call. Basically, I want my server to be notified (via using webhook call) when certain events occur, such as uploading files to my creative cloud drive.