Triggering https://ims-na1.adobelogin.com/ims/authorize/v1?response_type=code&client_id= returns invalid protocol | Community
Skip to main content
Level 2
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
  • 6419 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
Level 2
December 20, 2022

This generally comes when your client-id does not have the creative_sdk scope and you request for it in the consent URL. Have you added any APIs in your project?

Could you try this trick and check again?


That was the prob! Thanks for pointing that out!

But I'm still not receiving any webhook notifications when I trigger my events. If I go to "Debug tracking" I can't see any events. I'm I missing something else?