Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-14146

[fiware-stackoverflow] Fiware pep-proxy and idm communication issue

    Details

      Description

      Created question in FIWARE Q/A platform on 17-05-2018 at 18:05
      Please, ANSWER this question AT https://stackoverflow.com/questions/50396043/fiware-pep-proxy-and-idm-communication-issue

      Question:
      Fiware pep-proxy and idm communication issue

      Description:
      I wanted to connect pep-proxy with the idm .. so I followed the installation of pep from that link ..
      https://github.com/ging/fiware-pep-proxy by building it from the source .
      That was the config file i was supposed to edit

      // Credentials obtained when registering PEP Proxy in app_id in Account Portal
      config.pep =

      { app_id: '', username: '', password: '', trusted_apps : [] }

      i also wanted to know how could i get both the app_id and the trusted_apps parameters and i'm also confused with the meaning of the app_id whether it's the client id or not .

      That was the first part of my issue.

      when i put the client id with app id and put the username and password of pep proxy that i got when i registerd it on idm ,
      i got keystone communication error

      when i edited the idm host parameter by adding "http" at the beginning , i got no token and i get "token undefined" message .
      Also when i edited the username and password by putting those of idm account , everytime i get a new token.
      So i wanted to know the best way to build the fiware pep-proxy and make it communicate correctly with the idm with no problems .

      Then i tried to follow the installation commands from the docker file . On building the pep-proxy with these commands , i got a new config file which is that of fiware academia

      this config file is different from the first one i worked on . When i followed the steps in this video https://www.youtube.com/watch?v=dtKsjGbJ7Xc&index=10&list=PLARS-yIy9nOoBIOJS05Rpkvu1pZiNTgPT and configured the username and password by putting those of the pep-proxy , i got this error.

      On putting "http" before keystone parameter as follows

      config.keystone_host = 'http://cloud.lab.fiware.org';

      i got this message

      But on putting the username and password of idm in the configuration as shown below
      config.username = 'idm_user_mail;
      config.password = 'password';

      i always get a new token .

      Now , I want to know the best way to get the pep-proxy and the idm work together as i'm still struggling to make them communicate properly.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        19d 12h 27m 1 Alvaro Alonso 06/Jun/18 9:33 AM
        In Progress In Progress Answered Answered
        1s 1 Alvaro Alonso 06/Jun/18 9:33 AM
        Answered Answered Closed Closed
        1s 1 Alvaro Alonso 06/Jun/18 9:33 AM

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: