Rod Simpson created USERGRID-23:
-----------------------------------

             Summary: Fresh Admin user token won't work on /management/users/me
                 Key: USERGRID-23
                 URL: https://issues.apache.org/jira/browse/USERGRID-23
             Project: Usergrid
          Issue Type: Bug
          Components: Stack
            Reporter: Rod Simpson


"After logging on:

curl -X POST ""https://api.usergrid.com/management/token""; -d 
'{""grant_type"":""password"",""username"":""fdsafdsa"",""password"":""fdsafdsafdsa""}'
 


The user is not able to log in with the token:

curl -X GET -i -H ""Authorization: Bearer 
YWMt997XKhAyEeO7oblzQPxkkAAAAUDrIyfHE8GIZlo8IhJztOX2JQ7kXpbFTHc"" 
""https://api.usergrid.com/management/usersfdsafdsa"";


But the token works with other endpoints.

***Update***: Looks like the problem is that the /management/users/<username or 
email> endpoint is not case-insensitive on the username or email address. We 
need to update that API call so that it is case-insensitive.




"



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to