Identity Management (MOSC)

MOSC Banner

Has anyone been able to use Curl to do a request with BASIC Authentication with OAM 11g webgate?

edited Sep 7, 2016 9:48PM in Identity Management (MOSC) 8 commentsAnswered ✓

Hi,

Sorry for the kind of longish Subject line but, basically, I am trying to see if anyone has been able to use Curl to access a resource/URL that is protected by OAM using BASIC authentication? 

We have been trying, using something like:

curl -H "Authorization: Basic <base64-encoded username:password>" -k https://xxxxxxxl.xxxxx:443/

and we are getting:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"  dir="ltr">

   <head>

   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

   <title>Single Sign-On</title>

   <link rel='stylesheet' href='/oam/pages/css/login_page.css'/>

   <link rel="stylesheet" type="text/css" href="/oam/pages/css/general.css" >

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center