Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Dear Fiware Lab help team,

      I am exploring the possibility of integrating the Fiware IdM component with a project that I am working on with my university.
      Although I have followed the steps in the admin and production guides (http://fiware-idm.readthedocs.io/en/latest/admin_guide.html; http://fiware-idm.readthedocs.io/en/latest/setup.html#production-guide), I am having the following problems:

      1. The email is being added to the users table in the database but I am not able to have a full registration. I assume that is from the email server configuration...
      I have installed postfix but the problem is still there. I also have tried using my personal email (please see the conf below) but did not manage to get it to work.
      [cid:image001.png@01D2A271.514E5D20]
      [cid:image002.png@01D2A272.01684DB0]

      2. I did not manage to get the service accessible through the internet

      I am trying to host the product on an ec2 server.
      Here's a snip of my SSL configuration.
      [cid:image003.png@01D2A272.B47F51A0]

      Any guidance would be appreciated.

      Thanks,
      Antonio

      __________________________________________________________________________________________

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

      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: Antonio Nehme <antonio.nehme@lau.edu.lb>]

      1. Capture.PNG
        217 kB
      2. Error_Creating_App.PNG
        414 kB
      3. FiwareOauth.PNG
        76 kB
      4. image001_01D2A271514E5D20.png
        103 kB
      5. image002_01D2A27201684DB0.png
        137 kB
      6. image003_01D2A272B47F51A0.png
        47 kB
      7. OAuthError.PNG
        60 kB

        Activity

        Hide
        aalonsog Alvaro Alonso added a comment -

        Hello,

        Running the migration again shouldn't harm (you would get a DUPLICATED ENTRY error if some data already exists).

        What account are you using to log in to the web portal?

        BR

        Show
        aalonsog Alvaro Alonso added a comment - Hello, Running the migration again shouldn't harm (you would get a DUPLICATED ENTRY error if some data already exists). What account are you using to log in to the web portal? BR
        Hide
        fw.ext.user FW External User added a comment -

        Comment by antonio.nehme@lau.edu.lb :

        Hi,

        I am using an account which I have created on my local machine...
        I have moved to testing Fiware OAuth:
        I am running my client on my local machine; however, I am always receiving this error no matter how I change the URL.
        I am calling my script on localhost:8080... you may see different combination that I have tried in the description since I also hosted the same script on an online server 'http://iago.bcu.ac.uk/anton/test/php-oauth-client/example/simple6'... However, I got the same error message...
        any clue?

        Your help is much appreciated,
        Antonio
        -

        Show
        fw.ext.user FW External User added a comment - Comment by antonio.nehme@lau.edu.lb : Hi, I am using an account which I have created on my local machine... I have moved to testing Fiware OAuth: I am running my client on my local machine; however, I am always receiving this error no matter how I change the URL. I am calling my script on localhost:8080... you may see different combination that I have tried in the description since I also hosted the same script on an online server 'http://iago.bcu.ac.uk/anton/test/php-oauth-client/example/simple6'... However, I got the same error message... any clue? Your help is much appreciated, Antonio -
        Hide
        aalonsog Alvaro Alonso added a comment -

        Dear Antonio,

        The OAuth2 library used in Keyrock performs a validation of the redirect_uri parameter that comes within the token validation request, and returns the error you are encountering when that validation fails. As a result, it seems that the redirect_uri that your application is providing when redirecting the user agent to FIWARE Lab is not correct.

        You can find more details about the exact validation procedure in this link.

        As a side note, I myself checked that the URLs you have entered in your FIWARE Lab application (both the one of your local machine and that of the online server) are correct, so you shouldn't have to change anything there. The error seems to be in your application.

        Hope this helps! Please write back if we can be of further help.

        Best regards from the Keyrock team

        Show
        aalonsog Alvaro Alonso added a comment - Dear Antonio, The OAuth2 library used in Keyrock performs a validation of the redirect_uri parameter that comes within the token validation request, and returns the error you are encountering when that validation fails. As a result, it seems that the redirect_uri that your application is providing when redirecting the user agent to FIWARE Lab is not correct . You can find more details about the exact validation procedure in this link . As a side note, I myself checked that the URLs you have entered in your FIWARE Lab application (both the one of your local machine and that of the online server) are correct, so you shouldn't have to change anything there. The error seems to be in your application. Hope this helps! Please write back if we can be of further help. Best regards from the Keyrock team
        Hide
        fw.ext.user FW External User added a comment -

        Comment by antonio.nehme@lau.edu.lb :

        Dear Alonso,

        Is it possible to schedule a Skype meeting? I am planning to use the Fiware IDM component in a big project in partnership with my university and we're not making the progress required to proceed with Fiware yet.
        https://www.bcubdc.com/KNP
        This is what I have so far; I am receiving the authorization code but it seems like my token request's syntax is not recognized.
        Moreover, I still did not manage to deploy Fiware online: I can run the Fiware instance locally and I have the database installed and functional, but cannot access this instance through the internet.
        I am thankful for your help and would pretty much appreciate if we can arrange the Skype call.

        Awaiting for your response.
        Thank you,
        Antonio

        -

        Show
        fw.ext.user FW External User added a comment - Comment by antonio.nehme@lau.edu.lb : Dear Alonso, Is it possible to schedule a Skype meeting? I am planning to use the Fiware IDM component in a big project in partnership with my university and we're not making the progress required to proceed with Fiware yet. https://www.bcubdc.com/KNP This is what I have so far; I am receiving the authorization code but it seems like my token request's syntax is not recognized. Moreover, I still did not manage to deploy Fiware online: I can run the Fiware instance locally and I have the database installed and functional, but cannot access this instance through the internet. I am thankful for your help and would pretty much appreciate if we can arrange the Skype call. Awaiting for your response. Thank you, Antonio -
        Hide
        aalonsog Alvaro Alonso added a comment -

        Hi Antonio, have you checked the redirect_uri you are sending back to Keyrock as I explained in my last answer?

        With respect to the support channel we use, we offer support via this channel, also via SOF and FIWARE Ask platform. You can also check the GE documentation and the online courses we offer in FIWARE Academy.

        Please, don't hesitate to ask again for further help.
        BR

        Show
        aalonsog Alvaro Alonso added a comment - Hi Antonio, have you checked the redirect_uri you are sending back to Keyrock as I explained in my last answer? With respect to the support channel we use, we offer support via this channel, also via SOF and FIWARE Ask platform. You can also check the GE documentation and the online courses we offer in FIWARE Academy. Please, don't hesitate to ask again for further help. BR

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: