Use Single Sign-On (SSO) with RealBrowser
NeoLoad RealBrowser supports applications using SSO/HTTP authentication, such as NTLM or Kerberos.
Browser support
Chromium | Mozilla Firefox | WebKit | |
---|---|---|---|
Basic authentication | Yes | Yes | Yes |
NTLM | Yes | Yes | No |
Kerberos | Yes | No | No |
Setup
Chromium
As a good practice for SSO, you want to have one authentication per Virtual User (VU) at runtime. This means you need to make sure that the parameter AmbientAuthenticationInPrivateModesEnabled
isn't enabled. To do so, follow these steps:
-
Start a RealBrowser recording session.
-
Navigate to
chrome://policy/
. -
Check whether
AmbientAuthenticationInPrivateModesEnabled
is present or not. If it is, set its value to 0 (zero). Otherwise you need to disable the parameter in the Registry. Learn more here.
How to use
In the OpenBrowser action, you can now add the following parameters:
Parameter | Description |
---|---|
httpCredentials.login
|
Specifies the login for HTTP authentication. |
httpCredentials.password
|
Specifies the password for HTTP authentication. |
httpCredentials.origin
|
Specifies the origin that receives the credentials for the authentication, for example |
Note: From the moment you execute the OpenBrowser action until a CloseBrowser action, you can define only a single username/password pair. Consequently, it's not possible to visit applications behind different SSO providers within a single User Path, unless you restart the browser each time.
Troubleshooting
Tip: In case of any issues with SSO, first make sure you've followed the Setup steps.
I get automatically signed in to my application
You sign in without a username and password prompt, depending on the Kerberos configuration on your machine.
To fix the issue, try the following Windows configuration:
-
Open the Internet Options.
-
Go to the Security tab.
-
Click the Custom level... button in Security level for this zone for these zones:
-
Internet
-
Local intranet
-
Trusted sites
-
-
Scroll to User Authentication > Logon and select Prompt for user name and password.
-
Hit OK.