[Fiware-lab-help] FIWARE Lab Assistance

Aitor Magán amagan at conwet.com
Tue Dec 15 12:10:21 CET 2015


Dear Roberto,

As stated in the documentation (
http://wmarket.readthedocs.org/en/latest/installation-guide.html#oauth2),
in the FIWARE Lab console, you have to create the application with the
following properties:


   - *Name*: *You can choose any name*
      - *Description*: *You can write any description*
      - *URL*: http://[WMARKET_HOST]:[WMARKET_PORT]
      - *Callback URL*: http://
      [WMARKET_HOST]:[WMARKET_PORT]/WMarket/callback?client_name=FIWAREClient
      - *Roles*: In order to allow some users to create stores and
      descriptions with the user interface, you must create a new role. You can
      choose any name for this role.

The problem is that you are not configuring the Callback URL as required.
Your callback URL should be something similar to:  "
http://sypmarket.com/WMarket/callback?client_name=FIWAREClient".

BTW, I have visited your instance and the IdM is not giving me any error at
the time of logging in. However, once that I have introduced my
credentials, I got a 500 Internal Server Error. WMarket creates a log file
in "/tmp/wmarket.log" so you can get information when an unexpected
exception is thrown. If you wish, you can send me this file so I will try
to help you with this unexpected exception.

BR
Aitor

2015-12-15 11:53 GMT+01:00 RL van Maanen <roberto.vanmaanen at gmail.com>:

> Dear FIware Help and/or Aitor Magan,
>
> I am having a bit of trouble setting up the WMarket Enabler on a hosted
> instance.
> It runs and I can reach the login screen but the callbackURL for OAuth2 is
> erroring.
> After a login it gives an error: callback wrong
> I have set it up like this now:
>
> In FIWARE app console:
> host: http://sypmarket.com
> callbackURL: http://sypmarket.com/WMarket/callback?user=
>
> In the TomCat conf:
> callbackURL: http://sypmarket.com/WMarket/callback
>
> It is hosted on sypmarket.com.
> What am I doing that makes the FIWare IDM give back an error?
>
>
> Good day!
> And thanks for helping!
>
>
>


-- 
Best Regards
Aitor Magán

[image: Twiter] <https://twitter.com/AitorMagan>
<https://es.linkedin.com/in/aitormagan>  <https://github.com/AitorMagan>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20151215/b1dd82f5/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy