Skip to content

Support refresh of access tokens for Management API #829

@larsf96

Description

@larsf96

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

This SDK should support an automated token refresh for the Management API calls. There was already a Feature Request (#473) that was closed, but the solution that was implemented is not really a solution.
There is still no automated mechanism that refreshes the Management API token and it's also not possible to inject a custom TokenProvider.

Describe the ideal solution

I currently see 2 options on how this could be implemented:

  1. ManagementApi handles the token refresh on it's own
  2. At least a way to implement and inject a custom TokenProvider needs to be implemented

I would prefer option 1 as I think that an SDK should be able to handle that as this is a very essential "feature" if you use APIs

Alternatives and current workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA feature has been asked for or suggested by the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions