You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OSC-CREST-00014 for REST API call with OAuth token

Received Response
42
Views
2
Comments
edited Apr 16, 2020 7:18PM in Integrations and APIs 2 comments

Summary

OSC-CREST-00014 for REST API call with OAuth token

Content

Hi All,

We configure IdP Federate with IDCS as IdP and OSvC as SP. We can log to OSvC Agent Desktop with SSO.

Then we configured a confidential app with audience (https://site.custhelp.com) and scope (/services/rest/connect/v1.4/accounts).

When I call REST API https://site.custhelp.com/services/rest/connect/v1.4/accounts with the bearer token generated from IDCS (with cURL or Postman), i got this error.

{
    "title": "You are not authorized to use this site",
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!