Actions17
User → Login User
AI-generatedOverview
This node performs user login by sending the provided username and password as query parameters to the authentication endpoint. It is useful for scenarios where you need to authenticate a user against an API or service that requires login credentials, such as accessing user-specific data or initiating a session.
Properties
| Name | Meaning |
|---|---|
| Username | The user name for login, sent as a query parameter named 'username'. |
| Password | The password for login in clear text, sent as a query parameter named 'password'. |
Output
JSON
token- Authentication token or session identifier returned upon successful login.userId- Identifier of the logged-in user.expiresIn- Duration in seconds before the authentication token expires.
Dependencies
- Requires an API endpoint that accepts username and password as query parameters for login.
Troubleshooting
- Ensure that the username and password are correct and properly URL-encoded if necessary.
- Check that the API endpoint URL is correctly configured and accessible.
- If login fails, verify that the API expects credentials as query parameters; some APIs require them in the request body or headers instead.
- Common error messages may include authentication failure or invalid credentials; verify credentials and API documentation to resolve.