Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Security
-
HD-Enabler:KeyRock
Description
Hi,
I have registered a test application with
client_id=e2a4d618c80a4457a63aaed0d5003e61 and
client_secret=5c830cba67324ca9a4c80019198a62b6. The attempt to obtain an
access token for it produces the following error:
curl -v --header "Authorization: Basic
ZTJhNGQ2MThjODBhNDQ1N2E2M2FhZWQwZDUwMDNlNjE6ZTJhNGQ2MThjODBhNDQ1N2E2M2FhZWQwZDUwMDNlNjEK"
-d grant_type=password -d username=myusername@gmail.com -d
password=mypassword https://account.lab.fiware.org/oauth2/token
- Trying 130.206.84.7...
- Connected to account.lab.fiware.org (130.206.84.7) port 443 (#0)
- ALPN, offering http/1.1
- Cipher selection:
ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH - successfully set certificate verify locations:
- CAfile: /opt/local/share/curl/curl-ca-bundle.crt
CApath: none - TLSv1.2, TLS Unknown, Unknown (22):
- TLSv1.2, TLS handshake, Client hello (1):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, Server hello (2):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, CERT (11):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, Server key exchange (12):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, Server finished (14):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, Client key exchange (16):
- SSLv2, Unknown (20):
- TLSv1.2, TLS change cipher, Client hello (1):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, Finished (20):
- SSLv2, Unknown (20):
- TLSv1.2, TLS change cipher, Client hello (1):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, Finished (20):
- SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
- ALPN, server did not agree to a protocol
- Server certificate:
- subject: OU=Domain Control Validated; CN=*.lab.fiware.org
- start date: 2014-10-09 00:00:00 GMT
- expire date: 2016-10-08 23:59:59 GMT
- subjectAltName: account.lab.fiware.org matched
- issuer: C=NL; O=TERENA; CN=TERENA SSL CA
- SSL certificate verify ok.
- SSLv2, Unknown (23):
> POST /oauth2/token HTTP/1.1
> Host: account.lab.fiware.org
> User-Agent: curl/7.42.1
> Accept: /
> Authorization: Basic
ZTJhNGQ2MThjODBhNDQ1N2E2M2FhZWQwZDUwMDNlNjE6ZTJhNGQ2MThjODBhNDQ1N2E2M2FhZWQwZDUwMDNlNjEK
> Content-Length: 75
> Content-Type: application/x-www-form-urlencoded
> - upload completely sent off: 75 out of 75 bytes
- SSLv2, Unknown (23):
< HTTP/1.1 401 Unauthorized
< Date: Sat, 16 May 2015 15:48:00 GMT
< Server: Apache/2.4.7 (Ubuntu)
< Vary: Accept-Language,Cookie
< X-Frame-Options: SAMEORIGIN
< Content-Language: en
< Transfer-Encoding: chunked
< Content-Type: application/json
< - SSLv2, Unknown (23):
- SSLv2, Unknown (23):
- SSLv2, Unknown (23):
- Connection #0 to host account.lab.fiware.org left intact
{"error":Unknown macro: {"message"}}
Could you tell me where is my error?
Thank you very much!
Best regards,
Boris Kotzev
_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-lab-help
[Created via e-mail received from: Boris Kotzev <boris.kotzev@gmail.com>]
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Assignee | Alvaro Alonso [ aalonsog ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Summary | [Fiware-lab-help] identity manager | FIWARE.Request.Lab.identity manager |
Summary | FIWARE.Request.Lab.identity manager | FIWARE.Request.Lab.Security.IDM-KeyRock.identitymanager |
Summary | FIWARE.Request.Lab.Security.IDM-KeyRock.identitymanager | FIWARE.Request.Tech.Security.IDM-KeyRock.identitymanager |
Sender Email | boris.kotzev@gmail.com |
HD-Enabler | KeyRock [ 10889 ] | |
HD-Chapter | Security [ 10841 ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
1d 21h 5m | 1 | Alvaro Alonso | 18/May/15 3:17 PM | |||||
|
1s | 1 | Alvaro Alonso | 18/May/15 3:17 PM | |||||
|
1s | 1 | Alvaro Alonso | 18/May/15 3:17 PM |