Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Support SAML auth #51

Open
dmcassel opened this issue Nov 2, 2020 · 2 comments
Open

Support SAML auth #51

dmcassel opened this issue Nov 2, 2020 · 2 comments

Comments

@dmcassel
Copy link

dmcassel commented Nov 2, 2020

I've been trying to get a grove-based application to use SAML and have run into difficulties. The MarkLogic Node.js Client API can handle SAML, but Grove doesn't use that. auth-helper.js relies on www-authenticate, but it looks like that library doesn't support SAML.

Is there any documentation or an example somewhere that could help with this?

@grtjn
Copy link
Contributor

grtjn commented Nov 2, 2020

I am afraid not. Have you tried pushing SAML auth down to MarkLogic? SAML support in 10.0-5 seems reasonable, and I have been told it can work as transparently as LDAP in MarkLogic.

@grtjn
Copy link
Contributor

grtjn commented Nov 2, 2020

That said, if you really want to do it in grove-node, you might be able to leverage https://www.npmjs.com/package/passport-saml. The www-authenticate lib is used in combination with passport-local, to provide a customized digest auth scheme (originating from slush-marklogic-node). Then again, you still need to authenticate and connect to ML as well. Doing SAML inside MarkLogic would simplify this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants