Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Cosmos
Description
Created question in FIWARE Q/A platform on 26-10-2015 at 11:10
Please, ANSWER this question AT http://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?
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
21h | 1 | Backlog Manager | 27/Oct/15 9:04 AM | |||||
|
3h | 1 | Backlog Manager | 27/Oct/15 12:04 PM |
Fix Version/s | 2021 [ 12600 ] |
HD-Enabler | Cosmos [ 10872 ] | |
HD-Chapter | Data [ 10838 ] |
Summary | FIWARE.Request.Lab.Data.BigData-Analysis.OAuth2TokenGeneration | FIWARE.Request.Tech.Data.BigData-Analysis.OAuth2TokenGeneration |
Resolution | Done [ 10000 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Summary | [fiware-stackoverflow] How to get a valid oauth2 token in Cosmos? | FIWARE.Request.Lab.Data.BigData-Analysis.OAuth2TokenGeneration |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Francisco Romero [ frb ] |
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
2015-10-27 12:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True