Service providers with SAML version 2 for SSO accessible to public? [closed]
Asked Answered
D

7

58

I'm wondering if there are any publicly available SAML version 2 SPs (Service Providers) that can be used to test SSO(Single Sign On)

Salesforce and Google apps both have an SSO solution, but how to go get access to them and what is the cost for those services?

I could setup a service provider using OpenSSO on an another system for my testing purpose.

Devilfish answered 19/5, 2011 at 18:24 Comment(4)
There is also "SAML2 stub: be whoever you want to be" which seems to also be a SAML test page.Solidify
Two more alternatives: samltest.id and github.com/mcguinness/saml-idpEmendate
developer.okta.com/docs/guides/build-sso-integration - for OPENID and SAML V2. Non premium version is available to publicElectroshock
https://mcmap.net/q/331720/-can-you-recommend-a-saml-2-0-identity-provider-for-test-closedEgregious
K
54

UPDATE: Samling is live again at https://fujifish.github.io/samling/samling.html

Samling is a serverless SAML IdP for the purpose if testing any SAML SP endpoint. It supports AuthnRequest and LogoutRequest.

It runs solely in the browser to simulate SAML responses returned from a SAML IdP - no registration, no servers, just a browser. You can control many aspects of the response - from success to various failures.

Simply setup the target URL for the SAML IdP to be https://fujifish.github.io/samling/samling.html, and you're done. If there is a SAMLRequest query param present on the request, Samling will parse, extract and populate the relevant fields.

samling start page

If you don't want to use the online version, you can clone the samling repo from https://github.com/fujifish/samling and host it yourself - all you will need is a static file server.

Kimsey answered 11/3, 2017 at 8:58 Comment(3)
(Promoting to the accepted answer since it seems like a much saner solution for present-day askers of this question)Devilfish
Samling is such a great SAML testing tool, but it seems to have disappeared this week along with Capriza. Does anyone out there have the Samling source?Unmeet
Samling is live at fujifish.github.io/samling/samling.htmlKimsey
R
22

Salesforce has a free developer edition you can sign up for at: http://developer.force.com. It will enable you to test with them acting as either a SAML 2.0 SP or IDP. It is quite simple to sign up and use its SAML features for testing purposes.

For Google, they offer free 30 day Google Apps accounts for trial purposes - beyond that you need to pay.

As you say - there are loads others (like PingFederate or OpenAM) that you could either get for free, sign up for a trial for or purchase - if you want something in house.

Rawley answered 20/5, 2011 at 1:14 Comment(6)
sir, Can I use salesForce's Identity Provider as the Test IdP for my SP(which I am going to implement using opensaml-java)?Basically I need a Test IdP to Test my SP.Thank you.Genome
Yes, Salesforce can be configured as an IdP.Rawley
Pray tell, how? @ScottT. IS there a document you can link to?Microscopium
Once you sign up for a developer account (and confirm your email) - you can follow the instructions here: help.salesforce.com/apex/HTViewHelpDoc?id=sso_saml.htm or here: blogs.oracle.com/rangal/entry/saml2_salesforce_comRawley
@ScottT. Thanks, but neither of the documentation pages that you link to describe how to configure Salesforce as an IdP. Can you provide more detail?Ballad
here is an updated link with details on setting this up: developer.salesforce.com/page/…Federicofedirko
M
19

Shibboleth offer a publicly available SAML v2 SP and IdP; https://www.testshib.org/ Note - works with any SAML IdP/SP, not just shib.

Menashem answered 10/11, 2012 at 0:0 Comment(0)
B
10

Why not just use SimpleSAMLPHP? It's easy to set up, and can be used as a service provider. Google Apps is also pretty easy to set up as a SAML service provider.

Beatrizbeattie answered 26/5, 2012 at 5:27 Comment(0)
B
6

SSOCircle - SAML/OpenID IDP

I can't recommend because I haven't used it, but it sounds promising, so worth trying.

They provide free public users and integration with your own SP and additional features with premium accounts.

Beall answered 13/4, 2016 at 2:38 Comment(0)
B
2

You can definitely use miniOrange's SAML SSO with a variety of service providers. I knew nothing about how it all works, and got it setup using their free trial very quickly, as they have nice docs that step you through integrating with a variety of service providers, with Salesforce of course being one of them.

So:

I don't work for them, I just found it was easy one to setup, and I tried SSOCircle and Salesforce as an IDP before these guys as well. FYI !

Sample SSO

Billy answered 17/10, 2016 at 11:57 Comment(0)
C
1

Here is how you can use salesforce developer's account to set up your IdP and test it with an example service provider hosted on heroku

STEP 1: Establish a Federation Id For this single sign-on implementation, we’ll set a user attribute that links the user between their Salesforce organization and an external application.

  1. From Setup in your salesforce developer's account, enter Users in the Quick Find box, then select Users. Click Edit next to your current user. In the Single Sign On Information section, enter the Federation ID: [email protected]. For this example, we arbitrarily made up a Federation ID. The Federation ID is a unique username for each user that can be shared across multiple applications. Sometimes this is the employee ID for that user. Click Save.

STEP 2: Set up your Identity Provider

  1. In a new browser window, go to http://axiomsso.herokuapp.com.
  2. Click SAML Identity Provider & Tester. Click Download the Identity Provider Certificate. The certificate validates signatures, and you need to upload it to your Salesforce organization. Remember where you save it.
  3. In your Salesforce organization, from Setup, enter Single Sign-On Settings in the Quick Find box, then select Single Sign-On Settings. Click Edit. Select SAML Enabled. Click Save.
  4. In SAML Single Sign-On Settings, click New. Enter the following values.

    Name: Axiom Test App 
    Issuer: http://axiomsso.herokuapp.com Identity
    Provider Certificate: Choose the file you downloaded in step 3.
    Request Signing Certificate: Select a certificate. If no 
    certificate is available, leave as Generate self-signed 
    certificate. 
    SAML
    Identity Type: Select Assertion contains the Federation ID from the
    User object. 
    SAML Identity Location: Select Identity is in the
    NameIdentifier element of the Subject statement. 
    Service Provider Initiated Request Binding: Select HTTP Redirect. 
    Entity Id: Enter your My Domain name including “https”, such as
    https://universalcontainers.my.salesforce.com Click Save and leave
    the browser page open.
    

STEP 3: Generate SAML

  1. Return to Axiom at http://axiomsso.herokuapp.com. Click generate a SAML response. Enter the following values (other fields can be left blank).

     SAML 2.0
     Username or Federated ID: [email protected]
     Issuer: http://axiomsso.herokuapp.com
     Recipient URL: Get that from the Salesforce SAML Single Sign-On 
     Setting page. (If you didn’t keep that page open, from Setup, 
     enter Single Sign-On Settings in the Quick Find box, then select 
     Single Sign-On Settings, and then click Axiom Test App.) Use the 
     Salesforce Login URL value.
    
Cathode answered 7/5, 2017 at 17:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.