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

        fw.ext.user FW External User created issue -
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-LAB-HELP [ 10279 ]
        fla Fernando Lopez made changes -
        Assignee Alvaro Alonso [ aalonsog ]
        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
        aalonsog Alvaro Alonso made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        aalonsog Alvaro Alonso made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        aalonsog Alvaro Alonso made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Summary [Fiware-lab-help] FIWARE Lab OAuth2 Questions FIWARE.Request.Lab.FIWARE Lab OAuth2 Questions.
        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: > > > >
        fla Fernando Lopez made changes -
        HD-Enabler KeyRock [ 10889 ]
        HD-Chapter Security [ 10841 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Closed [ 6 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Component/s FIWARE-LAB-HELP [ 10279 ]
        aalonsog Alvaro Alonso made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        aalonsog Alvaro Alonso made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1d 1h 49m 1 Alvaro Alonso 25/Jan/17 5:24 PM
        Closed Closed In Progress In Progress
        365d 2h 15m 1 Fernando Lopez 25/Jan/18 7:39 PM
        In Progress In Progress Answered Answered
        6d 15h 20m 2 Alvaro Alonso 01/Feb/18 11:00 AM
        Answered Answered Closed Closed
        2s 2 Alvaro Alonso 01/Feb/18 11:00 AM

          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: