8000 Providing new method to enable patch clients credential endpoint by marcossegovia · Pull Request #714 · auth0/auth0-java · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Providing new method to enable patch clients credential endpoint #714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

marcossegovia

Changes

This PR introduces support for updating an existing client credential via the Auth0 Management API.

  • Added:
    • ClientsEntity.updateCredential(String clientId, String credentialId, Credential credential)
      A new method that issues a PATCH request to /api/v2/clients/{client_id}/credentials/{credential_id}.
  • Purpose:
    • Enables updating properties of a specific client credential, including the expires_at property, which is the only one documented today.
  • Requirements:
    • The request must be authenticated with a token containing the update:client_credentials scope.

References

Please include relevant links supporting this change such as a:

  • support ticket
  • community post
  • StackOverflow post
  • support forum thread

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

  • This change adds test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@marcossegovia marcossegovia requested a review from a team as a code owner May 8, 2025 16:36
@tanya732
Copy link
Contributor

@marcossegovia,

Thank you for raising the PR!!

Request you to sign your commits.

@tanya732
Copy link
Contributor

@marcossegovia

The PR looks good overall! Just a few points:

  1. Add test cases.
  2. Include sample code for better community understanding.
  3. Provide references or documentation.
  4. Please sign your commits.

Post that we are good to merge the PR.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0