401 Unauthorized For OAUTH2, ORDS Weblogic Deployment
(Doc ID 2901152.1)
Last updated on OCTOBER 09, 2022
Applies to:
Oracle REST Data Services - Version 21.2.4 and laterInformation in this document applies to any platform.
Symptoms
ORDS deployed in Weblogic. Enabled OAuth2 using the below document steps for the REST API modules.
Oracle REST Data Services Demo - Authentication OAUTH2 Client Credentials / Two Party (Doc ID 2305958.1)
Running CURL command to test OAuth authentication shows below error
HTTP/1.1 401 Unauthorized
Date: <TIMESTAMP>
Content-Length: 1468
Content-Type: text/html; charset=UTF-8
WWW-Authenticate: Basic realm="weblogic”
X-ORACLE-DMS-RID: 0
X-Content-Type-Options: nosniff
X-ORACLE-DMS-ECID: <ECID>
X-Frame-Options: DENY
Changes
Enabled OAuth for the REST module in ORDS
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |