Questions about the Node.js passport-saml module.
Questions tagged [passport-saml]
84 questions
16
votes
2 answers
SAML2.0 Authentication with Node.js and SPA
I've been scratching my head for about 2 days on how to solve what seemed to be a simple task, but it's starting to drive me crazy.
I have an application where users will use SAML 2.0 to authenticate.
I have a react-application set up for the…

Stian Bakken
- 673
- 1
- 5
- 15
12
votes
1 answer
Passport + SAML with metadata.xml file
I'm setting up a web application with express and ejs and need to integrate SAML authentication. I've got a metadata.xml, a public cert and a private key.
Now I want to set up this strategy and use it for authentication.
I tried to use a module…

Timo
- 429
- 3
- 12
7
votes
2 answers
Same passport js strategy with different configuration (SAML)
I'm trying to create SSO in my Nest.js application using Okta as Identity Provider and passport-saml library. I read documentation of Nest authentication and passport-saml. I have no problems with understanding of examples, but I really need to use…

Dikcha
- 81
- 5
7
votes
1 answer
ADFS is returning "SAML provider returned Responder error: unspecified" when credentials are left empty
I've implemented ADFS SSO in a node api using passport-saml.
Logging in works but when I don't give up any credentials and submit the login form the ADFS server returns the following error:
"SAML provider returned Responder error: unspecified"
When…

Thijs Hendrikx
- 239
- 2
- 6
6
votes
1 answer
passport-saml strategy implementaion in nodejs
I am using passport-saml for authentication. For this I have installed
npm install passport passport-saml --save
And I have created my IDP using this blog Auth0.
Initialized passport and defined saml…

Sunil Garg
- 14,608
- 25
- 132
- 189
4
votes
0 answers
Redirect browser to login page with passport-saml
I have an application where the front-end is ReactJs and the back-end is express.
I am trying to implement SSO with SAML2 and I use OKTA as the IDP.
front-end is running on localhost:3000
the back-end is running on localhost:4500
I use…

Viz
- 141
- 2
- 9
4
votes
3 answers
passport-saml - express - redirected url not submitting form gives SAML assertion not yet valid
Below is the error that I am getting on my console today as opposed to yesterday when the same code was working fine.
Error: SAML assertion not yet valid
at SAML.checkTimestampsValidityError
I have verified that I receive a success from…

Prateek
- 3,923
- 6
- 41
- 79
4
votes
1 answer
Generate ACS url with express and passport-saml for Gsuite SSO
I'm implementing a SAML based SSO with nodejs using express and passport-saml for GSuite. I'm able to configure the first part and get passport-saml to redirect me to the google login page. But I'm stuck regarding the ACS url and identity ID that…

BPC
- 96
- 1
- 8
4
votes
3 answers
SAML error for SSO with ADFS - MSIS0038: SAML Message has wrong signature
Hi I am trying to use SSO to authenticate my client's users directly to my website. My client's IDP is Microsoft ADFS and I am using Passport-SAML (https://github.com/bergie/passport-saml) to configure the SSO process.
After getting to a special URL…

jerem
- 1,016
- 2
- 12
- 27
4
votes
2 answers
How to configure SAML2 authentication for a loopbackJS application
I would like to secure a loopback based app using SAML2.0 and OneLogin. I believe I should use the loopback-component-passport and passport-saml modules in order to achieve my goal. However I'm really struggling to find any good documentation that…

Johan Mereaux
- 143
- 11
3
votes
2 answers
Handle the Identity provider side of SAML using Node.js
I need to implement an Identity provider service (using node.js) that should be able to.
Get, validate and parse (using private key and cretificate) the authentication request from SP example
If everything is valid, respond with a signed XML…

k-lusine
- 397
- 4
- 11
3
votes
1 answer
logout of Idp session with passport-saml
Reciveing 400 bad request when trying to log out user from idp session.
The user is logged out from the application/passport session, but not from the idp session.
Logout and callback endpoints are set up like seen below. The logout endpoint attach…

Asle Berge
- 147
- 1
- 8
3
votes
0 answers
Passport-saml samlstrategy function is never being called
I have a completely working Saml based login. The strategy looks like this:
mySamlStrategy = new SamlStrategy(
{
protocol: "https://",
host: "myhost.com",
path: "/login/callback",
identifierFormat:…

Adi.P
- 370
- 1
- 12
3
votes
1 answer
How to provide SP metadata to TestShib IdP using passport-saml?
I have a node.js script, using passport-saml, that simulates an SP. My goal is to connect it to this TestShib IdP but I get the following error: SAML 2 SSO profile is not configured for relying party.
Based on what I read here, I know that I need…

capesantes
- 55
- 2
- 7
3
votes
3 answers
Passport-SAML: read user information
Still a noob!
I am working on to build a Node application, and I have already setup various required end points. One of the requirements for my project is to use authentication using SAML mechanism. I am using passport-SAML for authentication in my…

shubhammakharia
- 147
- 1
- 2
- 10