mcguinness / saml-idp

Simple SAML Identity Provider (IdP) for Node
MIT License
447 stars 172 forks source link

Add a --host option. #51

Closed shaleh closed 5 years ago

shaleh commented 5 years ago

On my Mac the saml-idp command was not loading on localhost port 7000 but was telling me it was on "SeanPerryMacBook.local". It was a lie. Turns out I had 7000 in use from a Docker instance I forgot about.

This PR provides people the ability to choose which hostname to listen on. For me, being able to set the host as 0.0.0.0 causes an error to occur if the port is in use while localhost lies and claims to work but does not.

shaleh commented 5 years ago

Thanks @mcguinness