n8n-nodes-form-login
v0.1.8
Published
N8N community node to do HTTP post based login.
Downloads
72
Maintainers
Keywords
Readme
n8n-nodes-form-login
This is an n8n community node. It lets you use login forms with n8n credentials.
It is currently imposible to pass credentials as the form-encoded body of request in n8n. This node lets you do that. Useful for web scraping use-cases.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Usage
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
FormLogin: Performs a login action using the supplied credentials. Returns the response object from the HTTP request.
Credentials
This node only supports login forms that require a username and password. Create a new credential and add these values.
Usage
This node will make an HTTP POST request to the URL supplied via the Authentication URL input, with a url encoded body of the form:
`${usernameKey}=${credentials.username}&${passwordKey}=${credentials.password}`
usernameKey
maps to the Username Field input, and passwordKey
to Password Field.
Note that the node will not error on any HTTP status codes, so you should check for your self in the node output that the login was successful.