Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lyang/saml-proxy-example

Repository files navigation

saml-proxy-example

Example usage of saml-proxy

Usage

docker-compose up

It will start three containers: nginx, saml-proxy and app.

nginx will force all requests coming in to go through saml-proxy first, for authentication.

saml-proxy will facilitate SSO authentication and map SSO response attributes to http headers, which will then be forwarded by nginx to app.

app simply displays the forwarded headers in its greetings.

sequence-diagram

The IdP in this example is https://samltest.id/

You can test the flow by going to http://localhost/

Note

In case the IdP no longer recognizes this SP, you will need to refresh sp-metadata. Options:

If you'd like to try with your own IdP/SP, I find https://www.samltool.com to be a quite helpful for generating IdP/SP metadata

About

Example usage of saml-proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /