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 and later
Information in this document applies to any platform.


On : 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, OAM is




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