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

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        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 -
        Assignee Backlog Manager [ backlogmanager ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          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: