🙏 is there any guide, to integrate Node.js with OAM ? #834
Unanswered
bharatsahulw
asked this question in
Q&A
Replies: 1 comment
-
for the record: @bharatsahulw created later on issue #835 with similar content than this discussion ( #834 ) so anyone reading this discussion should look extra info from #835 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
Is there any way to integrate the node js with passport-saml by using the OAM metadata file instead of ADFS metadata file? I am using below keys from the metadata file in the passport-saml.
passport.use(/login, new SamlStrategy({
path: "login_file_path",
entryPoint: "Entry url from the metadata file or IDP/SP entry url",
issuer: "my application url",
cert: "x509:certificate from the metadata file",
disableRequestedAuthnContext: true,
authnContext: 'http://schemas.microsoft.com/ws/2008/06/identity/authenticationmethod/windows'
}, function(user, done) {
if (user && user.nameID) {
done (null, user)
} else {
done(null, null);
}
}));
Beta Was this translation helpful? Give feedback.
All reactions