Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAML with Shibboleth support #55

Closed
Nogbit opened this issue Feb 3, 2015 · 14 comments
Closed

SAML with Shibboleth support #55

Nogbit opened this issue Feb 3, 2015 · 14 comments
Assignees
Labels
feature New functionality or improvement

Comments

@Nogbit
Copy link

Nogbit commented Feb 3, 2015

It seems this was supported in travelogue with passport. I still don't know why travelogue was abandoned in favor of bell but it kind of leaves new projects in no mans land that that need SAML support.

@robertd
Copy link
Contributor

robertd commented Feb 9, 2015

+1

@geek
Copy link
Member

geek commented Feb 13, 2015

@Nogbit I would like to see SAML support as well. If someone is willing to contribute it then that would be the fastest way to get it into bell.

@geek geek added the request label Feb 13, 2015
@Nogbit
Copy link
Author

Nogbit commented Feb 13, 2015

We decided to stick with Express for the time being, if one of us gets the bandwidth we could contribute and we did discuss that.

@molekilla
Copy link

thinking if you take passport-saml and create the wrapper for hapi-bell it might work. Ideally, with maintaining passport-saml saml.js as a library, not forking. Anyone interested ?

More
https://github.com/bergie/passport-saml/blob/master/lib/passport-saml/strategy.js#L3

@timcosta
Copy link
Contributor

timcosta commented Mar 1, 2015

+1 also interested in this

@jshum
Copy link

jshum commented Jul 20, 2015

+1 non-SAML support is making us stick with Express for now, but would love to help and contribute.

@PaulMougel
Copy link
Contributor

I'd love to be able to use SAML with bell. Any thought on where to start?

@ldesplat
Copy link
Contributor

You would have to implement it. So you would add a new protocol to bell called SAML.

A protocol is really this:

var SAML = function (settings) {

    return function (request, reply) {
        // Implement the whole SAML flow
    }
}

You can find the complicated specs here https://wiki.oasis-open.org/security/FrontPage#SAML_V2.0_Standard and there https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf

If you do decide to try writing it, you may make a PR request and we can see how we can help you to get it done properly.

@molekilla
Copy link

@molekilla
Copy link

I managed to use passport-saml with hapi. I think that it should be a separate plugin as it has a specific auth flow than OAuth (e.g. metadata endpoint). I probly work on this later this year, but suffice to say that integrating it to bell is not straightforward

@PaulMougel
Copy link
Contributor

Thanks @molekilla for giving this is a spin! Would you care to share how you integrated passport-saml into hapi?

@molekilla
Copy link

@hueniverse
Copy link
Contributor

Closing due to inactivity.

@hueniverse hueniverse self-assigned this Jun 22, 2016
@Marsup Marsup added feature New functionality or improvement and removed request labels Sep 20, 2019
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New functionality or improvement
Projects
None yet
Development

No branches or pull requests

10 participants