Skip to content

Add sources to Permission objects returned from ManagementAPI users().listPermissions call #246

@BLWedge09

Description

@BLWedge09

Describe the problem you'd like to have solved

Auth0 has added sources to permissions when called from the /api/v2/users/{id}/permissions endpoint. These optional sources are not included in the Permission object that is returned using this Java library.

A Permission can have a list of sources, The source Object is structured as such:

   {
      "source_id": "rol_xxxxxxxxxxxxxxxx",
      "source_name": "ROLE-NAME",
      "source_type": "DIRECT"
    },

Describe the ideal solution

Add source objects to Permission objects returned when calling users().listPermissions from the ManagementAPI.

Alternatives and current work-arounds

No good alternative that I see currently.

Additional context

auth0PermissionSources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions