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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 59m 1 Backlog Manager 30/May/17 6:04 PM
        In Progress In Progress Answered Answered
        3h 1 Backlog Manager 30/May/17 9:04 PM
        Answered Answered Closed Closed
        12h 49m 1 Fernando Lopez 31/May/17 9:53 AM

          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: