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

[fiware-stackoverflow] Fiware Keystone API Create User

    Details

      Description

      Created question in FIWARE Q/A platform on 14-07-2015 at 17:07
      Please, ANSWER this question AT https://stackoverflow.com/questions/31411266/fiware-keystone-api-create-user

      Question:
      Fiware Keystone API Create User

      Description:
      We are trying to create users in Fiware IDM using Keystone Identity API.

      We are sending the following curl command

      curl -s \
      -H "X-Auth-Token: e746971040657101bb1e" \
      -H "Content-Type: application/json" \
      -d '{"user": {"name": "newuser", "password": "changeme"}}' \
      http://localhost:35357/v3/users | python -mjson.tool

      The token we have used is the one configured in keystone.conf

      admin_token=e746971040657101bb1e

      But the result we are getting is the following

      {
      "error":

      { "code": 401, "message": "The request you have made requires authentication.", "title": "Unauthorized" }

      }

      Does anyone have an idea about what can happen?

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-30 15:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-30 15:05|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-30 18:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-30 18:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-30 21:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-30 21:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

          People

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

            Dates

            • Created:
              Updated:
              Resolved: