Samly - Add SAML SSO to your Phoenix application (now with multiple identity provider support)

Samly v1.0.0-rc.1

CHANGELOG.md

Will release v1.0.0 if there are no significant issues.

Samly v1.0.0 Released!

Samly is a Plug library that can be used to enable SAML Single-Sign-On authentication in Phoenix applications. It makes use of the esaml library for core SAML request/response handling.

This has been used successfuly to work with the following Identity Providers:

  • Okta

  • Ping Identity

  • OneLogin

  • ADFS

  • Nexus GO

  • Shibboleth

  • SimpleSAMLphp

Hopefully, this library provides some help in successful adoption of Elixir in Enterprise/Intranet.

Many thanks to the following contributors (samly and esaml):

  • @peterox

  • @mxgrn

  • @hoodunit

  • @calvinb

  • @hodak

  • @brianmay

  • @zwilias

  • @tcrossland

  • @samterrell

Many others also contributed by using this library, opening Github issues and providing feedback in DM. Please continue to open issues and submit PRs to improve Samly further. Also, share your experience in getting Samly to work with your IdP so others in the community can benefit as well.

Repos:

Samly: https://github.com/handnot2/samly

esaml: https://github.com/handnot2/esaml

Docker based Identity Providers for development purposes:

SimpleSAMLphp: https://github.com/handnot2/samly_simplesaml

Shibboleth: https://github.com/handnot2/samly_shibboleth

Development Assistance:

Phoenix Application showing Samly usage: https://github.com/handnot2/samly_howto

7 Likes

Pre 1.0.0 versions retired

All Samly versions prior to v1.0.0 are marked as “retired” in Hex. Hopefully whoever is using Samly is on v1.0.0. If you are still using earlier versions, you might see a mix warning message. It should not break your usage though.

Moving forward, v1.0.0 and above will be active.

1 Like

@handnot2 Hi, we’re considering using Samly for a project, but were wondering about its maintenance status. Would it be better for us to fork and maintain separately or is Samly still considered actively maintained?

2 Likes

For what it’s worth, I’m aware of two active forks of both esaml and samly:

2 Likes