[ https://jira.fiware.org/browse/HELP-8876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] José Ignacio Carretero Guarde reassigned HELP-8876: --------------------------------------------------- Assignee: Francisco Romero > [fiware-stackoverflow] How to get a valid oauth2 token in Cosmos? > ----------------------------------------------------------------- > > Key: HELP-8876 > URL: https://jira.fiware.org/browse/HELP-8876 > Project: Help-Desk > Issue Type: Monitor > Components: FIWARE-TECH-HELP > Reporter: Backlog Manager > Assignee: Francisco Romero > Labels: fiware, fiware-cosmos > > Created question in FIWARE Q/A platform on 26-10-2015 at 11:10 > {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/33342948/how-to-get-a-valid-oauth2-token-in-cosmos > +Question:+ > How to get a valid oauth2 token in Cosmos? > +Description:+ > My Cosmos profile is: > IdM username: <IDM_USERNAME> > Cosmos username: <COSMOS_USERNAME> > Password: <PASSWORD> > HDFS quota: 5 > HDFS used: 0 > Registration time: Fri Oct 23 2015 12:59:39 GMT+0200 (CEST) > Last access time: 0000-00-00 00:00:00 > When I try to get a valid token with cUrl: > curl -k -X POST "https://cosmos.lab.fiware.org:13000/cosmos-auth/v1/token" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=password&username=<IDM_USERNAME>&password=<PASSWORD>" > I receive this error message: > {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} > How to get a valid oauth2 token in Cosmos? -- 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