Payload CMS

Interact with Payload CMS collections and globals

Overview

This node interacts with Payload CMS to perform various authentication-related operations, specifically including resetting a user's password. It is useful in scenarios where automated workflows need to manage user authentication, such as resetting passwords via tokens received from password reset emails. For example, it can be used to reset a user's password securely by providing a reset token and a new password.

Use Case Examples

  1. Resetting a user's password after they request a password reset email.
  2. Automating user account management workflows that require password updates.

Properties

Name Meaning
Auth Collection The auth-enabled collection to operate on, such as users or admins.
Token The verification or reset token used to authorize the password reset.
New Password The new password to set for the user during the reset process.
Additional Options Optional parameters to customize the request, such as depth of relationship population, pagination, sorting, filtering, field selection, and locale.

Output

JSON

  • json - The JSON response from Payload CMS after the reset password operation, typically including status or user data.

Dependencies

  • Requires an API key credential for Payload CMS with base URL and optional API prefix.

Troubleshooting

  • Common issues include invalid or expired reset tokens, which will cause authentication failures.
  • Network or credential misconfiguration can cause request failures; ensure the Payload CMS instance is accessible and credentials are correct.
  • Error messages from the node will indicate authentication failures or request errors, which can be resolved by verifying token validity and API credentials.

Links

Discussion