Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-5518

FIWARE.Request.Lab.FIWARE Lab Assistance.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      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!

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: RL van Maanen <roberto.vanmaanen@gmail.com>]

        Activity

        Hide
        fw.ext.user FW External User added a comment -

        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


        Best Regards
        Aitor Magán

        [image: Twiter] <https://twitter.com/AitorMagan>
        <https://es.linkedin.com/in/aitormagan> <https://github.com/AitorMagan>

        Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
        Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
        _______________________________________________
        Fiware-lab-help mailing list
        Fiware-lab-help@lists.fiware.org
        https://lists.fiware.org/listinfo/fiware-lab-help

        Show
        fw.ext.user FW External User added a comment - 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 – Best Regards Aitor Magán [image: Twiter] < https://twitter.com/AitorMagan > < https://es.linkedin.com/in/aitormagan > < https://github.com/AitorMagan > Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost. Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one. _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fiware.org https://lists.fiware.org/listinfo/fiware-lab-help

          People

          • Assignee:
            alfopietro Pietropaolo Alfonso
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: