auth0/auth0-java

Feature Request: Support Core Authorization API calls

jakbutler opened this issue · 0 comments

Description

Feature Request: Support Core Authorization API calls

The current version of the Auth0 REST Management API allows for the creation and maintenance of Roles, the association of Permissions to Roles, and the association of Roles and Permissions to Users (and vice versa). It would be useful to support this same functionality in the Java client, allowing consumers to configure this information automatically to better support the new Core Authorization methodology and the RBAC API settings.

Current workarounds include:

  • Creating a custom REST client instead of using the auth0-java client library
  • Using the app_metadata on the User object and creating a custom rule to inject Roles and Permissions into a custom namespaced claim (and not using API permissions, Roles, and RBAC)
  • Using the soon-to-be-deprecated Authorization Extension and its generated Rule (and not using API permissions, Roles, and RBAC)

Implementing this would entail supporting the following endpoints and their respective REST methods:

Prerequisites

Environment

Please provide the following:

  • Version of this library used: 1.11.0
  • Version of Java used: jdk1.8.0_102
  • Additional libraries that might be affecting your instance: N/A