Copy link to clipboard
Copied
what are the 4 default role "values" that would be passed in the scope parameter when using the Captivate API to authenticate? we are receiving a "BAD Request Incorrect Scope" and cannot find a list of specific values we should be passing.
example,
https://captivateprimeeu.adobe.com/oauth/o/authorize?scope=SOMETHING&client_id=XXXYYY....
where SOMETHING equals a valid valud the api call expects.
Error:
{"status": "BAD_REQUEST","title": "Execution Error","source": {"info": "Incorrect scope"}}
Copy link to clipboard
Copied
Hi Michael,
When you register an application, there are several scopes that you need to select. The scopes are admin:read,admin:write,learner:read,learner:write.
While generating the refresh and access token you need to enter the scope as either admin:read,admin:write or learner:read,learner:write.
Based on your choice mentioned here, Captivate Prime API endpoint are accessible for your application. For example, If you chose Learner role read access, then all the Captivate Prime learner API end points are read-only accessible to your application.
You may refer to the below link for more information.
Regards,
Abhijeet