Thomas Pedersen
posted this on February 03, 2010 09:43 am
Remote authentication is a mechanism through which OneLogin users can be authenticated automatically, with the help from another trusted source that the user might already be authenticated against, such as Active Directory.
The authentication mechanism relies on shared keys for validating the authentication message. It is not required for the company to open up firewalls or change other security settings.
OneLogin’s remote authentication mechanism leverages on Windows Integrated Authentication, provided by MS Internet Information Server (IIS), the web server of choice in Windows environments. IIS has the ability to identify visiters based on their username in Active Directory, as long as the the server IIS is installed on is also part of the same domain.
For detailed information on Windows Integrated Authentication:
http://msdn.microsoft.com/en-us/library/aa292114(VS.71).aspx
Note that you do not have to allow public internet access to your webserver in order to use it for remote authentication for OneLogin.
A remote authentication script carrying your OneLogin accounts secret key is installed in IIS and protected by Windows Integrated Autentication. The following describes a common usage scenario of OneLogin’s remote authentication:
To ensure that only the intended audience is logged into OneLogin by the means of remote authentication, the account admin should always provide the company’s public IP address. OneLogin uses this to identify the organization, and make sure that only users from that network can be authenticated using OneLogin’s secret key.
You have the option to let OneLogin launch an application (such as Salesforce or Google Apps) as a part of this process. This provides a very smooth user experience where a user can click on a link in your intranet and get logged into the application directly without any further user interaction needed. To launch an app directly, add the launch parameter to the about URL. The value of that parameter can be determined by going to Company Apps and editing the app. In the sidebar you'll find two links. The top link contains a number which is the app ID. The modified URL will have this format:
https://app.onelogin.com/sessions/remote/?firstname=(firstname)&lastname=(lastname)&email=(email)&accountid=(accountId)×tamp=(timestamp)&accountid=(accountid)&hash=(MD5(firstname+lastname+email+secret+timestamp))&launch={appID}
The procedure above will work with any browser on any platform, but only NTLM-capable browsers in an NTLM-capable environment will perform the authentication without prompting the user for a network username and password. Currently, that is supported by Internet Explorer, Chrome, Safari and Firefox running on Windows.