
RayaanS.52304 (Customer) asked a question.
Hello OKTA Team,
We are attempting to access the Trusted Origins API to manage and read Trusted Origins and sources in our OKTA Tenant. However, when attempting to do this with the correct mentioned scopes, we are facing an error described below regarding permissions.
Steps we are following:
- Created an application in OKTA assigning the scopes (okta.trustedOrigins.manage & okta.trustedOrigins.read) mentioned in the Trusted Origins API Documentation (https://developer.okta.com/docs/api/openapi/okta-management/management/tag/TrustedOrigin/)
- Requesting an access token by invoking the default authorization server: https://{OUR_OKTA_DOMAIN}/oauth2/v1/token
- Verified that the claims of the access_token's contain the scopes mentioned above
- Invoking the Trusted Origins API endpoint to list all the trusted origins (https:/{OUR_OKTA_DOMAIN}/api/v1/trustedOrigins)
We get the following error:
{
"errorCode": "E0000006",
"errorSummary": "You do not have permission to perform the requested action",
"errorLink": "E0000006",
"errorId": "oaee-w7xW7YQsyTF7NkO6zPpg",
"errorCauses": []
}
Can you please help us out with what permission we are missing? Is there an additional scope which hasn't been listed that I need to account for to access the Trusted Origins API?
Thanks,
Rayaan

Hello @RayaanS.52304 (Customer) Thank you for posting on our Community page!
This question is more appropriate for our dedicated Okta Developer Forum.
My advice would be to reach out via devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.