Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
HD-Enabler:KeyRock
Description
Created question in FIWARE Q/A platform on 10-05-2019 at 09:05
Please, ANSWER this question AT https://stackoverflow.com/questions/56072898/curl-request-for-implicit-grant-type-on-fiware-keyrock
Question:
Curl request for implicit grant type on fiware keyrock?
Description:
I wanted to fire a curl request for implicit grant type on fiware idm. I have gone through the official docs of fiware idm-
https://fiware-idm.readthedocs.io/en/latest/oauth/oauth_documentation/index.html
Implicit grant type exists in fiware idm, but while making a curl request it throws the following error:
{"error":"unsupported_grant_type"}My curl request is as follows:
curl -X POST -H
"Authorization: Basic $(echo -n 56c32d7-c991-4da0-8b0a-018461ac583e6:0ec8898c-3bc7-12cd-8abd-0d6abgh01c56 | base64 -w 0)" --header "Content-Type: application/x-www-form-urlencoded" -d "grant_type=implicit&username=admin@test.com&password=1234" https://Keyrock_Host:Keyrock_Port/oauth2/token --insecure
Does anyone know about it ?
Activity
- All
- Comments
- History
- Activity
- Transitions