From ilknur.chulani at atos.net Tue Aug 18 15:34:08 2015 From: ilknur.chulani at atos.net (Chulani, Ilknur) Date: Tue, 18 Aug 2015 13:34:08 +0000 Subject: [Fiware-smartagrifood-coaching] KeyRock GE Message-ID: 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 > Date: Monday 10 August 2015 13:41 To: Milos Vranic >, >, > Cc: >, Sam > 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: