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

        backlogmanager Backlog Manager created issue -
        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
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        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
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        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
        fla Fernando Lopez made changes -
        Assignee Backlog Manager [ backlogmanager ]
        fla Fernando Lopez made changes -
        HD-Enabler KeyRock [ 10889 ]
        Description
        Created question in FIWARE Q/A platform on 14-07-2015 at 17:07
        {color: red}Please, ANSWER this question AT{color} 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?
        Created question in FIWARE Q/A platform on 14-07-2015 at 17:07
        {color: red}Please, ANSWER this question AT{color} 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?
        HD-Chapter Security [ 10841 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        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: