Can't Access Secured Resource Using BasicAuth And CURL

(Doc ID 2386384.1)

Last updated on APRIL 16, 2018

Applies to:

Oracle Access Manager - Version 11.1.2.3.170718 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.2.3.170718 version

You are trying to access resources secured in OAM with a basic auth authentication scheme, called programmatically with cURL. When making the call, providing the credentials, OAM is responding with a 401 Unauthorized, when it should validate the Authorization header with the credentials and allow access to the resource.

cURL command:
curl -L -v --insecure -u user1:test123 https://oracle.comt/basicauth/index.html

Webgate version is 11.1.0.11.0, OAM is 11.1.2.3



Changes

 

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