Skip to content

theoryandprinciple/hapi-saml-sp-demo

Repository files navigation

hapi-saml-sp-demo

This is a barebones hapipal-based demo app to show a basic SAML integration with samltest.id using the hapi-saml-sp plugin.

The repo contains a .key and .cert, so it should be ready to use, but I've also included the keycreate.sh script to generate your own key/cert pairs.

In order to try this, start up the server and go to https://fujifish.github.io/samling/samling.html

Set up the SP in the form in step 1 (leave as default or empty if not noted here):

Generate a new keypair and take the "Signature Certificate and put is in the idpCert variable in lib/plugins/hapi-saml-sp.js

This will prompt you to log in using the provided credentials, and will then redirect you to your local hapi server, which will just dump a basic json version of the response..

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published