[ https://jira.fiware.org/browse/HELP-9350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez updated HELP-9350:
---------------------------------
     HD-Chapter: Security
    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?
  was:
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-Enabler: KeyRock
> [fiware-stackoverflow] Fiware Keystone API Create User
> ------------------------------------------------------
>
>                 Key: HELP-9350
>                 URL: https://jira.fiware.org/browse/HELP-9350
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Backlog Manager
>              Labels: fiware, keystone, openstack
>
> 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?
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
    You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy