npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-secure-form-login

v0.1.0

Published

n8n community node + credential to submit a website login form with a username/password stored securely as a credential

Downloads

158

Readme

n8n-nodes-secure-form-login

An n8n community node + credential to submit a website login form while keeping the username and password out of the workflow. The credentials are stored in n8n's encrypted credential store and injected into the request only at execution time — they never appear in the node or in the exported workflow JSON.

This is a generalised version of the standard HTTP Request node, tailored to login forms: the field names for the username and password are configurable, so it works with sites that use email/pass, login/pwd, etc.

What's included

  • Credential Form Login API — securely stores the Username and Password.
  • Node Form Login HTTP Request — posts the credentials (plus any extra static fields and headers) to a login URL and returns the response.

Node parameters

| Parameter | Notes | | --- | --- | | Method | POST (default) or GET | | URL | The form's action URL, e.g. https://www.example.com/login | | Body Content Type | Form-Urlencoded (default, normal HTML forms) or JSON | | Username Field Name | Defaults to username; set to email, login, … as needed | | Password Field Name | Defaults to password | | Extra Body Fields | Static fields like submit=Login or a CSRF token | | Extra Headers | e.g. User-Agent, Origin, Referer | | Options › Follow Redirects | On by default | | Options › Ignore SSL Issues | For self-signed certs | | Options › Include Response Headers and Status | Returns Set-Cookie headers — enable to capture the login session cookie | | Options › Never Error | Treat any status code as success |

Example

For a form that curl would submit as curl --data-raw 'username=...&password=...&submit=Login' https://www.example.com/login:

  • URL: https://www.example.com/login
  • Username Field Name: username
  • Password Field Name: password
  • Extra Body Field: submit = Login
  • (optional) Extra Header: User-Agent = Mozilla/5.0 …
  • Enable Include Response Headers and Status to read the session cookie from Set-Cookie.

A successful login typically returns a 3xx redirect with a Set-Cookie session cookie (e.g. PHPSESSID); enable Include Response Headers and Status (and disable Follow Redirects) to capture it.

Build & test locally

cd /Users/werk/n8n/custom_nodes/form_login
npm install
npm run dev          # starts a local n8n with this node hot-linked
# or, to build + link manually:
npm run build
npm link
cd ~/.n8n/custom && npm link n8n-nodes-secure-form-login   # then restart n8n

Then in n8n: add the Form Login API credential, drop in the Form Login HTTP Request node, set the URL and field names, and run.

Security notes

  • The password is a password-type field and is encrypted by n8n's credential store.
  • Do not commit real secrets.
  • Because the secrets live in a credential, the same login can be reused across workflows without ever pasting the password into a node.