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

FIWARE.Request.Tech.Apps.Store.OAuth2TokenProblems

    Details

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

      Description

      Hi,

      We're trying to access the WStore api we have installed under our fiware
      account of julia@ptchwrks.com <julia@ptchwrks.com> via oauth2 and
      we're experimenting some trouble in the process.

      We're able to authorize the app but we never get the access token back.

      We're following this example:
      https://github.com/cchristodoulopoulos/fiware-oauth2-client-example-php

      We've also tried others in the php libraries in http://oauth.net/2/
      Following the indications of:
      https://github.com/ging/fi-ware-idm/blob/master/doc/oauth2.md

      But we never receive the access token back.

      Do you know where the problem might be?

      Thanks,

      Mónica

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help-new
      [Created via e-mail received from: Monica Rikic <monica@ptchwrks.com>]

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        5d 19h 20m 1 Francisco de la Vega 16/Sep/15 1:32 PM
        In Progress In Progress Answered Answered
        15d 22h 34m 1 Francisco de la Vega 02/Oct/15 12:06 PM
        Answered Answered Closed Closed
        1s 1 Francisco de la Vega 02/Oct/15 12:06 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler WStore [ 10858 ]
        HD-Chapter Apps [ 10836 ]
        mev Manuel Escriche made changes -
        Sender Email monica@ptchwrks.com
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.Apps.Store.OAuth2TokenProblems FIWARE.Request.Tech.Apps.Store.OAuth2TokenProblems
        fdelavega Francisco de la Vega made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fdelavega Francisco de la Vega made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        fdelavega Francisco de la Vega made changes -
        Summary [Fiware-tech-help] doubt oauth2 FIWARE.Request.Lab.Apps.Store.OAuth2TokenProblems
        fdelavega Francisco de la Vega made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        fdelavega Francisco de la Vega added a comment -

        Hi Mónica,

        What version of WStore are you using? Some time ago, the idm KeyRock changed its APIs and the mechanism to obtain the access token, so old versions of WStore have problems with the new idm. In this respect, I recomend you to wait until the 25th (Friday next week), since we are releasing a new version of WStore

        Regarding the libraries in http://oauth.net/2/ most of the existing libraries use by default the POST + body mechanism to retrieve the access token, while KeyRock uses POST + Authorization Basic header mechanism, so you will need to configure the library to work this way

        I have included my colleague Alvaro to the loop, who is in charge of KeyRock and can help you with the libraries.

        Best Regards,
        Francisco

        Show
        fdelavega Francisco de la Vega added a comment - Hi Mónica, What version of WStore are you using? Some time ago, the idm KeyRock changed its APIs and the mechanism to obtain the access token, so old versions of WStore have problems with the new idm. In this respect, I recomend you to wait until the 25th (Friday next week), since we are releasing a new version of WStore Regarding the libraries in http://oauth.net/2/ most of the existing libraries use by default the POST + body mechanism to retrieve the access token, while KeyRock uses POST + Authorization Basic header mechanism, so you will need to configure the library to work this way I have included my colleague Alvaro to the loop, who is in charge of KeyRock and can help you with the libraries. Best Regards, Francisco
        alfopietro Pietropaolo Alfonso made changes -
        Assignee Francisco de la Vega [ fdelavega ]
        alfopietro Pietropaolo Alfonso made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        fw.ext.user FW External User created issue -

          People

          • Assignee:
            fdelavega Francisco de la Vega
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: