AdminPostActor_typeAuth_providerResetPassword
Generate a reset password token for admin users in Medusa MCP Server. Emits the auth.password_reset
event, enabling subscribers to handle notifications via a Notification Module Provider for password updates.
Instructions
This tool helps store administors. Generate a reset password token for an admin user. This API route doesn't reset the admin's password or send them the reset instructions in a notification.
Instead, This API route emits the auth.password_reset
event, passing it the token as a payload. You can listen to that event in a subscriber as explained in this guide, then send the user a notification. The notification is sent using a Notification Module Provider, and it should have the URL to reset the password in the Medusa Admin dashboard, such as http://localhost:9000/app/reset-password?token=123
.
Use the generated token to update the user's password using the Reset Password API route.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
auth_provider | No |