Skip to content

Conversation

@tanya732
Copy link
Contributor

@tanya732 tanya732 commented May 16, 2025

Changes

Updated EnabledConnection, added annotation.

References

https://auth0.com/docs/api/management/v2/organizations/patch-enabled-connections-by-connection-id

Manual Testing Code

  1. Get domain and apiToken from tenant

ManagementAPI mgmt = ManagementAPI.newBuilder("{YOUR_DOMAIN}", "{YOUR_API_TOKEN}").build();

 EnabledConnection updatedConnectionRequest = new EnabledConnection();
updatedConnectionRequest.setAssignMembershipOnLogin(true);
updatedConnectionRequest.setSignupEnabled(true);
EnabledConnection resp = api.organizations().updateConnection("<ORG_ID>", "<CONNECTION_ID>", updatedConnectionRequest).execute().getBody();

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

@tanya732 tanya732 requested a review from a team as a code owner May 16, 2025 14:11
@tanya732 tanya732 closed this May 26, 2025
@tanya732 tanya732 deleted the fix-update-connection branch May 26, 2025 08:57
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.

1 participant