Open sheldhur opened 2 months ago
@tomas can you(or I?) just remove this challenge or add a callback with the challenge in config? It's wrong because for example SSO usually located an another domain
I'm not sure what the problem is. Feel free to submit a PR (with tests) and I'll be happy to merge it.
The example can looks strange but in real case it's a redirect from
www.host.com
tohost.com
It was broken in 3.1.0 after had added the challenge
host_and_ports_match
https://github.com/tomas/needle/blob/9454d7bdc94b5a9a9c8f60eafefb6408f83a9a37/lib/needle.js#L542-L553https://github.com/tomas/needle/issues/428