invalid_scope for oauth | Community
Skip to main content
April 7, 2022
Solved

invalid_scope for oauth

  • April 7, 2022
  • 1 reply
  • 4619 views
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

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

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


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

1 reply

tmj
Adobe Employee
Adobe Employee
April 7, 2022

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

martinb40061907
April 7, 2022

<deleted>