Giter Club home page Giter Club logo

Comments (5)

jhyvictory avatar jhyvictory commented on August 30, 2024
  • sp command: node ./bin/server.js --iss urn:example:idp --idpSsoUrl http://localhost:7000 --idpCert="config/idp-public-cert.pem" --spCert="config/sp-cert.pem" --spKey="config/sp-key.pem"

  • idp command: node app.js --acs http://localhost:7070 --aud http://localhost:7070 --encCert="test/sp-cert.pem" --encKey="test/sp-pub.key"

  • i use your two sample projects like this and the certs and keys i used were the ones in your directory. i copied the sp's cert into the idp's test directory and generated sp-pub.key, also copied idp's idp-public-cert.pem into sp's config directory. did i really make some error?

from saml-idp.

mcguinness avatar mcguinness commented on August 30, 2024

I recently refactored saml-sp and its doing something weird when parsing the idp cert and trying to strip off the PEM wrapper. Was testing using idpMetaUrl. Will try to patch later.

Thanks for filing the issue.

from saml-idp.

mcguinness avatar mcguinness commented on August 30, 2024

Ok, pushed a fix to saml-sp

node app.js --acs http://localhost:7070 --aud urn:example:sp --encCert ../saml-sp/config/sp-cert.pem --encKey ../saml-sp/config/sp-key.pem

node ./bin/server.js --iss urn:example:idp --idpSsoUrl http://localhost:7000 --idpCert ../saml-idp/idp-public-cert.pem

from saml-idp.

jhyvictory avatar jhyvictory commented on August 30, 2024

okay! the problem is solved. and how can i let this idp support many sps, afterall in the running command "node app.js --acs http://localhost:7070 --aud urn:example:sp --encCert ../saml-sp/config/sp-cert.pem --encKey ../saml-sp/config/sp-key.pem" there is only one sp.

from saml-idp.

mcguinness avatar mcguinness commented on August 30, 2024

This project isn't intended to be a full production IdP so its a bit out of scope. Running the server on multiple ports with different configs (e.g docker) is the intended scenario for testing multiple SPs.

This project is really just a wrapper around a SAMLP library. If you have a specific use case it might just be easier to generate your own responses (see https://github.com/mcguinness/saml-idp/blob/master/app.js#L443)

from saml-idp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.