Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I simulate an ADFS IdP to facilitate the testing of my SP code

I need to provide a SAML2.0 based Single Sign On (SSO) feature for my node.js service. This will consume SAML assertions generated by an Identity Provider (IdP) running Active Directory Federated Services (ADFS)

Ideally I would like to set up a test ADFS IdP that I can use to internally generate the SAML assertions. I could then use this to ensure my service handles these assertions correctly.

Unfortunately my company does not use Active Directory and so we cannot just setup a test ADFS platform. The licenses are expensive and so I cannot create an internal test server from scratch.

Is there a low-cost way I can simulate an ADFS IdP to provide a realistic test-bed for my new SSO service?

like image 768
biofractal Avatar asked Jul 02 '14 11:07

biofractal


People also ask

What is IdP ADFS?

A SAML 2.0 identity provider (IDP) can take many forms, one of which is a self-hosted Active Directory Federation Services (ADFS) server. ADFS is a service provided by Microsoft as a standard role for Windows Server that provides a web login using existing Active Directory credentials.

Where can I find ADFS IdP URL?

To test Identity Provider-Initiated Sign-On, go to your custom IdP URL (example: https://adfs. < my domain.com >/adfs/ls/< IdP Initiated sign on > = https://adfs.mydomain.com/adfs/ls/IdpInitiatedSignOn.aspx ). You should see the relying party identifier in a combobox under “Sign in to one to the following sites”.


1 Answers

Azure Active Directory should be very similar to implementations in ADFS (and the federation part is likely identical) and should be just fine for testing of your implementation. You can setup a free trial account for Microsoft Azure which includes the Azure Active Directory.

Information about SAML endpoints and SSO process can be found in the Azure documentation.

Other option is test against another SAML compatible Identity Provider, have a look at SSO Circle.

Microsoft also offers a Microsoft Partner Network Action Pack which enables companies to access a range of software (including Windows Server with ADFS) with development licenses for a reasonable price (few hundred euros). It might be your other option.

like image 114
Vladimír Schäfer Avatar answered Oct 05 '22 17:10

Vladimír Schäfer