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

FIWARE.Request.Tech.Apps.Store.AccessTokenProblem

    Details

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

      Description

      Elias Kanakis sent a message using the contact form at
      http://catalogue.fiware.org/.

      Dear Francisco de la Vega,

      Our team participates in the FI-ADOPT call with the project QualiFI.

      We are trying to integrate the public instance of WStore GE
      (https://store.lab.fiware.org) in our application in order to register and
      publish offerings on it using the supported APIs
      (http://conwetlab.github.io/wstore/#action_publish-an-offering_examples).

      However, we deal a problem with the token (Authorization: Bearer
      YOUR_OAUTH2_TOKEN) that the API needs.

      We have tested the API
      POST http://cloud.lab.fiware.org:4730/v2.0/tokens
      {
      "auth": {
      "passwordCredentials":

      { "username": "my-fiware-email", "password": "my-fiware-password" }

      }
      }
      but without success.

      Could you help us how to obtain the Bearer token to use the APIs?

      Thank you and happy new year,
      Elias Kanakis

      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-tech-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help

      [Created via e-mail received from: optimum.euprojects@gmail.com]

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        6d 22h 56m 1 Francisco de la Vega 11/Jan/16 10:55 AM
        In Progress In Progress Answered Answered
        13d 23h 42m 1 Francisco de la Vega 25/Jan/16 10:37 AM
        Answered Answered Closed Closed
        1s 1 Francisco de la Vega 25/Jan/16 10:37 AM
        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 -
        fdelavega Francisco de la Vega made changes -
        Summary [Fiware-tech-help] [Store - WStore] Integration with WStore public instance FIWARE.Request.Tech.Apps.Store.AccessTokenProblem
        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 ]
        Hide
        fdelavega Francisco de la Vega added a comment -

        I didn't received any feedback from the issuer, so I will proceed to close the issue and reopen it if necessary

        Show
        fdelavega Francisco de la Vega added a comment - I didn't received any feedback from the issuer, so I will proceed to close the issue and reopen it if necessary
        fdelavega Francisco de la Vega made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        fdelavega Francisco de la Vega added a comment -

        Dear Elias,

        The mechanism you are using returns a KeyStone token, so it can be used to access the cloud APIs and the platform itself. This token is of a lower level of the one you required.

        You can check that by accessing:

        https://account.lab.fiware.org/user?access_token=RETURNED_TOKEN

        If you try this URL with the token returned by that request you will see that it tells you that the token is not valid.

        What you require is a Bearer token for IdM applications. You can obtain this access token by following the OAuth2 process using your app info in the account endpoints

        https://account.lab.fiware.org/oauth2/code
        https://account.lab.fiware.org/oauth2/token

        Best regards,
        Francisco

        Show
        fdelavega Francisco de la Vega added a comment - Dear Elias, The mechanism you are using returns a KeyStone token, so it can be used to access the cloud APIs and the platform itself. This token is of a lower level of the one you required. You can check that by accessing: https://account.lab.fiware.org/user?access_token=RETURNED_TOKEN If you try this URL with the token returned by that request you will see that it tells you that the token is not valid. What you require is a Bearer token for IdM applications. You can obtain this access token by following the OAuth2 process using your app info in the account endpoints https://account.lab.fiware.org/oauth2/code https://account.lab.fiware.org/oauth2/token Best regards, Francisco
        mev Manuel Escriche made changes -
        Assignee Francisco de la Vega [ fdelavega ]
        backlogmanager Backlog Manager 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: