Comments (5)
-
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.
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.
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.
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.
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)
- Not really clear how to use HOT 3
- "Invalid Session Participant" - incorrect session index exception HOT 1
- Getting 404 for all `bower_components` HOT 3
- Docker Compose build command fails with "Maximum call stack size exceeded" error HOT 2
- recommend samltest.id as demo HOT 1
- Is it possible to serve /metadata in human readable format? HOT 1
- Allowing commas in multiValue values
- Returning `httpServer` object from `runServer` HOT 2
- Bump dependency `node-samlp` HOT 1
- next is not a function HOT 2
- 'Invalid Session Participant' on SLO request despite the sessionIndex having the same value as in the authentication response HOT 1
- IDP Server cannot be stopped gracefully in jest integration tests HOT 2
- docker-compose.yml not compatible with Docker Compose v2?
- Assertion encryption not working. HOT 3
- Loosen `parseSamlRequest` and `showUser` HOT 1
- Release new version to NPM?
- CORS errors? HOT 5
- Yarn audit issues
- Can I use for testing with Keycloak? HOT 1
- Production Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from saml-idp.