Skip to content

Conversation

subhankarmaiti
Copy link
Contributor

@subhankarmaiti subhankarmaiti commented Aug 28, 2025

Summary

Add support for the optional organization parameter in the resetPassword API call to enable password resets within specific Auth0 organizations.

API Behavior

  • When organization parameter is provided, it will be included in the request to Auth0's /dbconnections/change_password endpoint
  • When organization parameter is omitted, the behavior remains unchanged (backward compatible)
  • This enables password reset functionality for users within specific Auth0 organizations

Usage Example

// Reset password for a user in a specific organization
await resetPassword({
  email: 'user@example.com',
  connection: 'Username-Password-Authentication',
  organization: 'org_123'
});

// Existing usage without organization (unchanged)
await resetPassword({
  email: 'user@example.com',
  connection: 'Username-Password-Authentication'
});

@subhankarmaiti subhankarmaiti requested a review from a team as a code owner August 28, 2025 08:43
…into SDK-4477-reset-password-organization-support
@subhankarmaiti subhankarmaiti merged commit 8f097ec into master Aug 28, 2025
3 checks passed
@subhankarmaiti subhankarmaiti deleted the SDK-4477-reset-password-organization-support branch August 28, 2025 08:51
NandanPrabhu added a commit that referenced this pull request Sep 29, 2025
* master:
  feat: add Claude Code PR Review workflow for enhanced pull request an… (#1317)
  feat: enhance Auth0Provider with platform-specific initialization and error handling (#1313)
  feat(web): Simplify Setup, Add Session Check & Fix Missing Refresh Token (#1303)
  Fix clearSession operation order to prevent premature user state clearing (#1309)
  Release v5.0.0-beta.6 (#1306)
  fix: concurrent credential storage errors by preventing unnecessary state updates (#1302)
  chore(deps): bump actions/checkout from 4 to 5 (#1272)
  chore(deps): bump actions/download-artifact from 4 to 5 (#1294)
  chore(deps): bump codecov/codecov-action from 5.5.0 to 5.5.1 (#1296)
  fix(docs): added back the docs folder (#1291)
  Release v5.0.0-beta.5 (#1290)
  fix(docs): organize exports into namespaces for better typedocs (#1269)
  fix: add missing clearSession native options (#1289)
  fix(android): add pathPrefix to Android manifest for proper App Links functionality (#1288)
  feat: add organization parameter support to resetPassword API (#1286)
  feat(auth): add `saveCredentials` method to `useAuth0` hook (#1285)
  feat: unify and improve error handling across platforms (#1261)
  chore(deps): bump codecov/codecov-action from 5.4.3 to 5.5.0 (#1279)
@subhankarmaiti subhankarmaiti mentioned this pull request Oct 1, 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