Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
HD-Chapter:Security
-
HD-Enabler:KeyRock
Description
Created question in FIWARE Q/A platform on 07-09-2017 at 16:09
Please, ANSWER this question AT https://stackoverflow.com/questions/46098895/obtain-auth-token-from-keyrock-fiware-api
Question:
Obtain Auth-Token from Keyrock Fiware API
Description:
I am running Keyrock Fiware locally on my laptop in docker. I know this is working because I can visit http://localhost:8000 and http://localhost:8000/sign_up through my browser and they respond correctly.
I am having trouble when it comes to creating API calls. I am trying to use Postman, but I am having trouble with obtaining an auth-token, which is required to make some api calls.
Following this guide I am trying to create a POST request to http:/localhost:8000/oauth2/tokens
This by itself doesn't seem to work and I need to add other information like grant_type=password&username=YOUR_USERNAME&password=YOUR_PASSWORD&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET
I don't know where this information is supposed to go in my Postman request.
I have the field "Authorization", "Headers", "Body", and in "Headers" I have the field "key", "value" and "description" but, I don't understand which of these is the right one.
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Done [ 10000 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Assignee | Backlog Manager [ backlogmanager ] |
Summary | [fiware-stackoverflow] Obtain Auth-Token from Keyrock Fiware API | FIWARE.Question.Tech.Obtain Auth-Token from Keyrock Fiware API. |
HD-Enabler | KeyRock [ 10889 ] | |
HD-Chapter | Security [ 10841 ] |
Fix Version/s | 2021 [ 12600 ] |