WireCloud and IDM integration internal server erro

2019-07-28 05:04发布

问题:

I'm trying to add to the FITMAN Trial 5 structure, the IDM GE to have a SSO.

I followed the WireCloud installation guide here.

To test that integration I used two virtual box machines configured to be into a host-only LAN:

  • IDM => 192.168.56.6:3000
  • WC => 192.168.56.4:8080

I created (sign up) a user using IDM and got some problems but worked it around by using the right local link, and an application for the id and secret code. This is the screenshot of the IdM configuration:

This is the error response:

And this is the log from WireCloud:

[12/Nov/2014 02:32:53] "GET / HTTP/1.1" 200 1393 
[12/Nov/2014 02:32:54] "GET /static/cache/css/0d24b047d2b9.css HTTP/1.1" 304 0 
[12/Nov/2014 02:32:54] "GET /static/cache/js/710ae45ffdc1.js HTTP/1.1" 304 0 
[12/Nov/2014 02:32:54] "GET /api/context HTTP/1.1" 200 538
[12/Nov/2014 02:32:54] "GET /api/preferences/platform HTTP/1.1" 200 2 
[12/Nov/2014 02:32:54] "GET /static/fonts/opensans-regular-webfont.woff?0505fc36f188 HTTP/1.1" 304 0 
[12/Nov/2014 02:32:54] "GET /static/fonts/comfortaa_bold-webfont.woff?0505fc36f188 HTTP/1.1" 304 0 
[12/Nov/2014 02:32:54] "GET /api/workspaces HTTP/1.1" 200 2 
[12/Nov/2014 02:32:54] "GET /static/fonts/opensans-regular-webfont.woff?0505fc36f188 HTTP/1.1" 304 0 
[12/Nov/2014 02:32:54] "GET /static/fonts/comfortaa_bold-webfont.woff?0505fc36f188 HTTP/1.1" 304 0 
[12/Nov/2014 02:32:54] "GET /static/fonts/fontawesome-webfont.woff?v=3.2.1&0505fc36f188 HTTP/1.1" 304 0 
[12/Nov/2014 02:32:56] "GET /login?next=%2F HTTP/1.1" 302 0 
[12/Nov/2014 02:32:56] "GET /login/fiware/?next=%2F HTTP/1.1" 302 0 
[12/Nov/2014 02:33:09] "GET /complete/fiware/?code=Qc60v4BAYrcxGksyziJlMpVBRoeJG92wCURPkAxinaVmWY0EnzOIUe_G--WOkXHuSwE3AbAZfYfEItjXxMuBGA HTTP/1.1" 500 479 
[12/Nov/2014 02:33:09] "GET /static/cache/css/80dc877aa113.css HTTP/1.1" 304 0 
[12/Nov/2014 02:33:48] "GET /complete/fiware/?code=Qc60v4BAYrcxGksyziJlMpVBRoeJG92wCURPkAxinaVmWY0EnzOIUe_G--WOkXHuSwE3AbAZfYfEItjXxMuBGA HTTP/1.1" 500 480

回答1:

Seems a problem with the Callback URL field of the IdM Configuration. It should be: http://192.168.56.4:8080/complete/fiware/