Ahoy, after apply the changes suggested by Lukas on IRC[1], I got it working.
I'm planning to release a version 0.0.1.Alpha today for testing if you
guys agree.
[1] -
https://github.com/abstractj/passport-keycloak/commit/0f0baa1fcce3f926ff7...
On 2014-12-04, Bruno Oliveira wrote:
Good morning, I'm doing some progress with Keycloak and
Passport.js[1].
Although I get "invalid redirect_uri" using HTTP or HTTPS, if the
callback url[2] is changed to something like "http://www.google.com"
everything works fine.
I saw one issue related to Undertow[3], but I'm not sure if it's
truly related with what's happening here or me doing something wrong.
I'll move forward investigating the issue, but if you have an idea or
suggestion, it will be more than welcome. To reproduce the issue, just
follow the readme instructions[4].
[1] -
https://github.com/abstractj/passport-keycloak/tree/goose
[2] -
https://github.com/abstractj/passport-keycloak/blob/goose/examples/app.js...
[3] -
https://issues.jboss.org/browse/KEYCLOAK-568
[4] -
https://github.com/abstractj/passport-keycloak/blob/goose/README.md
--
abstractj
PGP: 0x84DC9914
--
abstractj
PGP: 0x84DC9914