Uploaded image for project: 'Help-Coaches-Desk'
  1. Help-Coaches-Desk
  2. HELC-953

FIWARE.Request.Coach.SmartAgriFood2.Re: KeyRock GE

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Component/s: SmartAgriFood2
    • Labels:
      None

      Description

      From: Ozdemir, Omer Faruk
      Sent: Friday, August 14, 2015 10:01 AM
      To: Raul Palma; Milos Vranic
      Cc: ssladojevic@gmail.com; fiware-tech-help@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@man.poznan.pl<rpalma@man.poznan.pl>>
      Date: Monday 10 August 2015 13:41
      To: Milos Vranic <milos.vranic@panonit.com<milos.vranic@panonit.com>>, <jsalvachua@dit.upm.es<jsalvachua@dit.upm.es>>, <aalonsog@dit.upm.es<aalonsog@dit.upm.es>>
      Cc: <ssladojevic@gmail.com<ssladojevic@gmail.com>>, Sam <sbrahma@man.poznan.pl<sbrahma@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.

      _______________________________________________
      Fiware-smartagrifood-coaching mailing list
      Fiware-smartagrifood-coaching@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-smartagrifood-coaching

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            oozdemir Ozdemir, Omer
            Reporter:
            ichulani ilknur chulani
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: