Skip to Content
0
Former Member
Sep 13, 2006 at 12:40 PM

SSO with Basic Authentication

222 Views

Hi all,

We would like to integrate an external web site into the portal (NW04s SPS8) using standard URL iViews. This is obvious not that big of a problem, however, the site makes use of basic authentication as its default authentication mechanism.

In the good old days 😊 it was possible to logon with the following URL: http://<username>:<password>@<host>:<port> but this syntax isn't supported anymore in IE (it can be turned on again but that's often not always feasible). However, when using a HTTP system it's still possible to select 'basic authentication' as the authentication method. In order for this to work you have to set the following system and iView properties:

<i>System</i>

Authentication URL: http://www.mysite.com

Authentication Method: Basic Authentication

Authentication Type: Server

Enable Authentication Assistant: Yes

Permanent Authentication (client-side only): Enable

User Mapping Type: admin, user

<i>URL iView</i>

Enable HTTP authentication: Enable

Fetch Mode: Server-Side

URL: http://www.mysite.com

System: the above created HTTP system

No Parameters are being specified

Based on these settings we would expect the portal to connect to the web site using the mapped username and password as part of the HTTP header (Authorization: Basic <username:password (encoded)>). The portal successfully sends a request to the external site but no authorization header variable is being passed along and thus the request results in a 401 error (authorization required).

Is there something wrong with the assumed solution? Any suggestions on how to set up SSO with basic authentication would be highly appreciated.

Regards,

Frodo