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

SP initiated flow #90

Open
ajender210282 opened this issue Jan 21, 2020 · 0 comments
Open

SP initiated flow #90

ajender210282 opened this issue Jan 21, 2020 · 0 comments
Labels

Comments

@ajender210282
Copy link

Hello all,
I am new in SAML. So can anyone help me to integrate this.
Case is:

  1. User login in my website (Stored in my DB).
  2. After login they get a link (WRKIT LINK) on the dashboard.
    WRKIT guys provide me SP.xml. I don't want my user to login on another third party site due to security reason.

I am try to work as https://github.com/auth0/node-samlp
but I am confused. From where I should call bellow code and what parms I should pass here.
app.get('/samlp', samlp.auth({
issuer: 'the-issuer',
cert: fs.readFileSync(path.join(__dirname, 'some-cert.pem')),
key: fs.readFileSync(path.join(__dirname, 'some-cert.key')),
getPostURL: function (wtrealm, wreply, req, callback) {
return callback( null, 'http://someurl.com')
}
}));

same as :
app.get('/samlp/FederationMetadata/2007-06/FederationMetadata.xml', samlp.metadata({
issuer: 'the-issuer',
cert: fs.readFileSync(path.join(__dirname, 'some-cert.pem')),
}));

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

No branches or pull requests

2 participants