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

Repeated port in redirectURL parameter when running under IIS #58

Closed
morcs opened this issue Aug 21, 2016 · 4 comments
Closed

Repeated port in redirectURL parameter when running under IIS #58

morcs opened this issue Aug 21, 2016 · 4 comments

Comments

@morcs
Copy link
Contributor

morcs commented Aug 21, 2016

I'm running a test client under IIS at https://localhost:44396/.

When the code redirects to the identity provider - it is adding the port number twice in the redirectURL (i.e. https://localhost:44396:44396/)

I've tracked this down to the use of _SERVER["HTTP_HOST"], which in my case includes the port.

I've modified the code to strip the port if present. I'll try and send a pull request with this fix in.

@genebean
Copy link

I am running into this same issue when testing under vagrant...

@morcs
Copy link
Contributor Author

morcs commented Sep 9, 2016

@genebean now fixed #59

@jumbojett should I close this issue now? :)

@jumbojett
Copy link
Owner

Closed! Thanks @mrmorcs 👍

@genebean
Copy link

👍 Thanks! I'll get back to playing soon now that this is resolved :-)

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

No branches or pull requests

3 participants