Expand my Community achievements bar.

SOLVED

invalid_scope for oauth

Avatar

Level 1
I would like to receive notifications via webhook if e.g. colors (as in Adobe Colors) change.
 
I have created a new test project and added a new event (Creative Cloud Libraries --> Selected Creative Cloud Library Updated --> OAuth).
No matter what I do, I cannot redirect to the user consent for listening to webhooks.
Under credentials, I see OAuth Web App with the scopes creative_sdk and openid.
 
This is the request I am using:

 

https://ims-na1.adobelogin.com/ims/authorize/v2?response_type=code&client_id=50**redacted**ed1&scope=creative_sdk%2Copenid&redirect_uri=**redacted**

 

 

This request always redirects back to my endpoint with error=invalid_scope.

If I only use openid for scope, the redirect works (without granting access for change notifications).
 
 
 
What am I doing wrong?
Is there any way to see which scope is wrong or invalid?
 

Thanks

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee
Employee

Hi @pkdev, my sincerest apologies for the delayed response.

 

I think you are missing a step -- according to the documentation you also need to add Creative Cloud Libraries API to the project for this to work. 

 

See: https://developer.adobe.com/events/docs/guides/using/cc-asset-event-setup/#receive-events

 

Please reach out in case you still face an issue.

Thanks,
Manik

View solution in original post

5 Replies

Avatar

Employee
Employee

Hey, @pkdev could you share the API key with us and we can check in our backend systems if something is odd.

 

Don't worry the api key is not supposed to be a secret anyway and you can always delete the api key and get a new one in the project.

 

Thanks,
Manik

Avatar

Level 1

Hi and thanks for the quick reply.

Client ID: 50d98b02356b4cd4a5dfd27c0ca8aed1

Avatar

Employee
Employee

Hey @pkdev, we are taking a look into the issue. We will get back to you soon.

 

Meanwhile, you may try creating another project and a new webhook registration to get a new OAuth client id. I hope this would unblock you in the meanwhile. 

 

Please reach out to us if you have more questions.

Thanks,
Manik

Avatar

Correct answer by
Employee
Employee

Hi @pkdev, my sincerest apologies for the delayed response.

 

I think you are missing a step -- according to the documentation you also need to add Creative Cloud Libraries API to the project for this to work. 

 

See: https://developer.adobe.com/events/docs/guides/using/cc-asset-event-setup/#receive-events

 

Please reach out in case you still face an issue.

Thanks,
Manik