Monday, 29 May 2017

How to config a NodeJS application that allow Single Sign-on from the VMware Identity?

I’ve got stuck at configuring a NodeJS application that allows Single Sign-on from the VMware Identity. I’m looking for someone has experiences in VMware Identity. Below is my explanation for the question.

  1. For this question, I did a lot of research on VMware Identity Manager and see that there is no documentation for how to make a sample NodeJS app that is cable of allowing Single Sign-on from VMware Identity.
  2. For my research up until now, I have something to share with you:

    • There is a documentation for configuring SAML-based Single Sign-On to Web Applications from VMware site. The document just focus on documenting for how to config VMware to some other popular sites like Dropbox, GoogleApps, Office365 etc... but does not provide any sample code for NodeJS application.
    • Passport-SAML Library for NodeJS. Passport-SAML has been tested to work with Onelogin, Okta, Shibboleth, SimpleSAMLphp based Identity Providers, and with Active Directory Federation Services. But we don’t have it mentioned on how to work with VMware Identity.
  3. For my example code with I have tried on configuration Passport-SAML to work on OneLogin which I think can be then configured to work with VMware Identity. This is my passport.js file contains:

    enter image description here

    Node: This my passport.js which created from the sample project of Gerard Braad.

    • My sample code need to have two key values from OneLogin App to be run:

      • entryPoint: The Single SignOn Service URL which can obtain from SAML Certificate of OneLogin App.

      • Cert: The Signing Certificate which can obtain from SAML Certificate of OneLogin App.

  4. Try to config the sample code to work with VMware Identity

    • I have tried to apply the certificate from VMware Identity on my sample code, but it didn’t work out.
    • Sample code:

      enter image description here

    • The output result:

    Image with error message from VMware why my application try to login

    • I’ve got an error message when my application trying to call login page from VMware Identity: Application cannot be found. Please contact your administrator for more information.
  5. Target: I’ve got stuck at configuring a NodeJS application that allows Single Sign-on from the VMware Identity. And that I am finding someone who has experiences on VMware Identity to help me on configuring a NodeJS application that allows Single Sign-on from the VMware Identity.


via Trind 07

No comments:

Post a Comment