[Fiware-smartagrifood-coaching] KeyRock GE

Chulani, Ilknur ilknur.chulani at atos.net
Tue Aug 18 15:34:08 CEST 2015


From: Ozdemir, Omer Faruk
Sent: Friday, August 14, 2015 10:01 AM
To: Raul Palma; Milos Vranic
Cc: ssladojevic at gmail.com; fiware-tech-help at lists.fi-ware.org; Chulani, Ilknur; Sam
Subject: RE: KeyRock GE

Good Morning Raul,

As far as I've checked their implementation below, there is this missing user retrieval part.
After a successful authentication(doing a post to IDM_URL/oauth2/token) they will have a json response back from the server.
they need to make a get request to the access_token part in this json to the IDM_URL/user path in order to get the user json as a response

These are missing in this implementation below.

Kind regards
Omer

From: Raul Palma <rpalma at man.poznan.pl<mailto:rpalma at man.poznan.pl>>
Date: Monday 10 August 2015 13:41
To: Milos Vranic <milos.vranic at panonit.com<mailto:milos.vranic at panonit.com>>, <jsalvachua at dit.upm.es<mailto:jsalvachua at dit.upm.es>>, <aalonsog at dit.upm.es<mailto:aalonsog at dit.upm.es>>
Cc: <ssladojevic at gmail.com<mailto:ssladojevic at gmail.com>>, Sam <sbrahma at man.poznan.pl<mailto:sbrahma at man.poznan.pl>>
Subject: KeyRock GE

Dear Joaquin/Alvaro,
Im contacting you from the technical team of SmartAgriFood accelerator.
One of our SMEs (in cc), is having a question regarding KeyRock GE.
They are using the global instance, i.e., FIWARE Lab Account Portal (https://account.lab.fiware.org), and they are able to pass the authorisation from their code, but they cannot retrieve the user.
See test UI: http://panonit.com:8802 (code: https://github.com/ging/oauth2-example-client)
Their config.js content is below.
Could you please confirm if they are using the correct endpoint, or if there is some other issue?
Thanks in advance,
Best Regards,

---

Raul Palma, PhD

Network Services Department

Poznań Supercomputing and Networking Center

ul. Dąbrowskiego 79a
60-529 Poznań
phone: (+48 61) 858-21-61
fax: (+48 61) 858-21-51



——config.js-------

var config = {}

config.idmURL = 'https://account.lab.fiware.org/';
config.client_id = 'f9b5940d67a741a38039690e4d6e6c6f';
config.client_secret = 'c9f854c96c9e4c70a0d402bce3233a17';
config.callbackURL = 'http://panonit.com:8802/user_info';

// Depending on Grant Type:
// Authorization Code Grant: code
// Implicit Grant: token
config.response_type = 'code';

module.exports = config;

Bu mesaj ve ekleri gönderilen kişiye özeldir ve gizli bilgiler içerebilir. Eğer mesajın gönderilmek istendiği kişi değilseniz lütfen kopyalamayınız, başkalarına göndermeyiniz ve göndericiyi bilgilendiriniz. Internet üzerinden gönderilen mesajların güvenli ve hatasız olduğunun garantisi olmadığından Atos grubu mesajın içeriğinden sorumlu tutulamaz. Göndericinin bilgisayarı anti-virüs sistemleri tarafından taranmaktadır, ancak yine de mesajın virüs içermediği garanti edilemez ve gönderici, meydana gelebilecek zararlardan sorumlu tutulamaz.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-smartagrifood-coaching/attachments/20150818/7cb265bc/attachment.html>


More information about the Fiware-smartagrifood-coaching mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy