Skip to content

Conversation

tanya732
Copy link
Contributor

@tanya732 tanya732 commented Mar 26, 2025

Changes

Added pre-change-password field in Attack Protection Manager

Path HTTP Method Method Name
/attack-protection/breached-password-detection PATCH updateBreachedPasswordDetectionConfig
/attack-protection/breached-password-detection GET getBreachedPasswordDetectionConfig

References

https://oktawiki.atlassian.net/wiki/spaces/~71202061d7c7239fdb49caa9a56b9ff980bdee/pages/3225781013/BPD+Schema
https://auth0.com/docs/api/management/v2/attack-protection/get-breached-password-detection

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 unit test coverage
  • This change adds integration test coverage

Manual Testing guide

  1. Securely store your Client ID, Client Secret, and Management API token.
  2. Install the SDK: npm install auth0

var management = new ManagementClient({
domain: '{YOUR_TENANT_AND REGION}.auth0.com',
clientId: '{YOUR_CLIENT_ID}',
clientSecret: '{YOUR_CLIENT_SECRET}',
});

const updatedBreachedPasswordDetection = await management.updateBreachedPasswordDetectionConfig('{REQUEST_BODY}');
const getBreachedPasswordDetection = await management.getBreachedPasswordDetectionConfig();

Checklist

@tanya732 tanya732 requested a review from a team as a code owner March 26, 2025 05:02
@tanya732 tanya732 merged commit d7dba87 into master Mar 27, 2025
8 checks passed
@tanya732 tanya732 deleted the sdk-5628-breached-password-detection-node-auth0-support branch March 27, 2025 13:15
@tusharpandey13 tusharpandey13 mentioned this pull request Mar 28, 2025
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