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

FIWARE.Request.Lab.FIWARE Lab OAuth2 Questions.

    Details

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

      Description

      Greetings

      I'm currently looking into the possibility to set up a Rancher server for Docker container orchestration, and I was looking to somehow extend Rancher's Authentication service to allow accessing the Rancher server using Fiware Lab accounts via Oauth. I have a few questions:

      • I noticed while testing that the organizations field always comes up empty in the response, even despite having registered an organization.
      • Is it normal that the /user endpoint can also be accessed by writing any string that begins with user? As in, it also works with /users, /userabcdefg, and so forth.

      Any help would be appreciated, as ideally I want to be able to replace the Github implementation for Rancher's authentication service with one for Fiware Lab, but reusing as much of the available code as possible, to avoid future issues.

      Regards.

      Gabriele Cerfoglio
      __________________________________________________________________________________________

      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: gabriele.cerfoglio@martel-innovate.com]

        Activity

        Hide
        aalonsog Alvaro Alonso added a comment -

        I will try to answer your questions:

        That's the only one.

        • I noticed while testing that the organizations field always comes up empty in the response, even despite having registered an organization.

        The response only receives those organizations in which the user has an assigned role (in the scope of the application that has created the token).

        • Is it normal that the /user endpoint can also be accessed by writing any string that begins with user? As in, it also works with /users, /userabcdefg, and so forth.

        It shouldn't... We will fix it ASAP

        Show
        aalonsog Alvaro Alonso added a comment - I will try to answer your questions: What are the available API endpoints for retrieving user informations? The /user endpoint is already described in the doc ( http://fiware-idm.readthedocs.io/en/latest/oauth2.html#get-user-information-and-roles ), but is there more that isn't documented? That's the only one. I noticed while testing that the organizations field always comes up empty in the response, even despite having registered an organization. The response only receives those organizations in which the user has an assigned role (in the scope of the application that has created the token). Is it normal that the /user endpoint can also be accessed by writing any string that begins with user? As in, it also works with /users, /userabcdefg, and so forth. It shouldn't... We will fix it ASAP
        Hide
        fw.ext.user FW External User added a comment -

        Comment by gabriele.cerfoglio@martel-innovate.com :

        Thank you for the response. Unfortunately the issue with the organizations field coming up as an empty array still persists. I have registered both a test org where I set myself as the owner and one where I'm a member to the application, and yet nothing comes up. I'm not sure if there's something specific I'm missing, or it's a bug on your end.

        Regards

        Gabriele

        > On January 25, 2017 at 5:25 PM Help-Desk <jira-help-desk@jira.fiware.org> wrote:
        >
        >
        >
        >

        Show
        fw.ext.user FW External User added a comment - Comment by gabriele.cerfoglio@martel-innovate.com : Thank you for the response. Unfortunately the issue with the organizations field coming up as an empty array still persists. I have registered both a test org where I set myself as the owner and one where I'm a member to the application, and yet nothing comes up. I'm not sure if there's something specific I'm missing, or it's a bug on your end. Regards Gabriele > On January 25, 2017 at 5:25 PM Help-Desk <jira-help-desk@jira.fiware.org> wrote: > > > >

          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: