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

FIWARE.Question.Tech.Manage OPTIONS request to the KeyRock API.

    Details

      Description

      Created question in FIWARE Q/A platform on 04-07-2018 at 09:07
      Please, ANSWER this question AT https://stackoverflow.com/questions/51167729/manage-options-request-to-the-keyrock-api

      Question:
      Manage OPTIONS request to the KeyRock API

      Description:
      I´m trying to access the KeyrRock Api like in the url : https://keyrock.docs.apiary.io/#reference/keyrock-api/authentication/create-token-with-password-method.

      For example to create a token with user and password, POST https://keyrock/v1/auth/tokens

      The problem is than when a try to do a request post in a web browser to the API the browser automatically do an OPTIONS requets first, and the KeyRock can manage the OPTIONS requests because only allows POST,GET,HEAD,DELETE method.

      How can I configure the fiware-idm proyect to solve this?
      (I think that the problem can be for the CORS configuration)

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2018-07-04 12:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-07-04 12:05|CREATED monitor | # answers= 0, accepted answer= False

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: