openstack - Fiware Keystone API Create User -


we trying create users in fiware idm using keystone identity api.

we sending 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 have used 1 configured in keystone.conf

admin_token=e746971040657101bb1e 

but result getting following

{     "error": {         "code": 401,          "message": "the request have made requires authentication.",          "title": "unauthorized"     } } 

does have idea can happen?

a couple of ideas you.

one port value 35357 not admin api calls, it's intended user calls.

also since using v3 api believe token can't used when creating user unless indicating domain.

however can't tell curl command action trying do.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -