Use OAuth Token To Hit Web UI URLs For Oracle Documents (Doc ID 2190187.1)

Last updated on OCTOBER 06, 2016

Applies to:

Oracle Documents Cloud Service - Version 14.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

OAuth token cannot be used for web url call. It gives the login page as output.

Refer to https://docs.oracle.com/cloud/latest/documentcs_welcome/WCDRA/Authorization.html
ACTUAL BEHAVIOR
---------------
Unable to use OAuth Token with web url call . Login page is given instead of actual output.

EXPECTED BEHAVIOR
-----------------------
The output of the REST call

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. call the GET_OAUTH_TOKEN service
2. Use the token to call a web URL in postman client
/documents/folder/home/nameasc
Use the following Header Value:
Authorization Bearer <Token Value>
3. Notice the output is the login page.

Issue Replicated.
4. Change the URL to a REST API URL like:
/documents/api/1.1/folders/self
5. Notice the correct output with the folder list.

OAUTH token works with REST API call but not with the Web URl.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms