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

[Fiware-lab-help] Info Keyrock Idm API

    Details

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

      Description

      Good morning,
      I have a question related to the API.
      Is it possible for an user authorized in an application to manage other
      users in the same application, using the access token provided to him
      during the OAuth2 authentication?

      Bests

      __________________________________________________________________________________________

      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

      To unsubscribe from Fiware-lab-help mailing list, go to the information page of the list at:
      https://lists.fiware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: smaglione@mandint.org]

        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 ]
        fla Fernando Lopez made changes -
        HD-Enabler KeyRock [ 10889 ]
        backlogmanager Backlog Manager made changes -
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Component/s FIWARE-LAB-HELP [ 10279 ]
        Hide
        aalonsog Alvaro Alonso added a comment -

        Hi, for using the rest API you have to create a token for the user following the instructions in https://keyrock.docs.apiary.io/#reference/keyrock-api/authentication. As you can see this is not an OAuth 2.0 access token. OAuth 2.0 access tokens are used for getting user info from applications or for authorizing the user when accessing applications' backends.

        Once you have created the REST API token for a user you can access every resource belonging to the user.

        BR

        Show
        aalonsog Alvaro Alonso added a comment - Hi, for using the rest API you have to create a token for the user following the instructions in https://keyrock.docs.apiary.io/#reference/keyrock-api/authentication . As you can see this is not an OAuth 2.0 access token. OAuth 2.0 access tokens are used for getting user info from applications or for authorizing the user when accessing applications' backends. Once you have created the REST API token for a user you can access every resource belonging to the user. BR
        aalonsog Alvaro Alonso made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        aalonsog Alvaro Alonso made changes -
        Status In Progress [ 3 ] Impeded [ 10004 ]
        aalonsog Alvaro Alonso made changes -
        Status Impeded [ 10004 ] 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 ]
        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
        3d 18h 31m 1 Alvaro Alonso 02/Apr/19 9:39 AM
        In Progress In Progress Impeded Impeded
        1 Alvaro Alonso 02/Apr/19 9:39 AM
        Impeded Impeded In Progress In Progress
        1s 1 Alvaro Alonso 02/Apr/19 9:39 AM
        In Progress In Progress Answered Answered
        1s 1 Alvaro Alonso 02/Apr/19 9:39 AM
        Answered Answered Closed Closed
        1s 1 Alvaro Alonso 02/Apr/19 9:39 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: