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-keycloak-password

v0.4.0

Published

n8n community node + credential to log in to a Keycloak-protected app using the OpenID Connect password grant

Readme

n8n-nodes-keycloak-password

An n8n community node + credential for calling APIs that sit behind Keycloak, authenticating with the OpenID Connect password grant (Resource Owner Password Credentials).

It replaces the manual login.py token request: the credential stores the form values securely (n8n encrypts secret fields at rest), and the node posts them to the token endpoint you configure, returning the token response.

What's included

  • Credential Keycloak Password API — securely stores the keys posted to the token endpoint: Grant Type, Client ID, Client Secret, Username, Password and Scope.
  • Node Keycloak HTTP Request — set the token endpoint in the URL field; the node sends the stored credential values as application/x-www-form-urlencoded and returns the JSON response.

Credential fields

| Field | Notes | | --- | --- | | Grant Type | Defaults to password | | Client ID | The Keycloak client | | Client Secret | (empty for a public client) | | Username | your service account | | Password | your service account password | | Scope | Defaults to openid |

Build & install locally

npm install
npm run build       # n8n-node build (compiles TS + copies icons)
npm run dev         # or: run a local n8n with the node hot-linked

# manual link into your n8n custom folder
mkdir -p ~/.n8n/custom
cd ~/.n8n/custom && npm link n8n-nodes-keycloak-password   # after `npm link` in this repo

Restart n8n, then add the Keycloak Password API credential and use the Keycloak HTTP Request node — paste your token endpoint into the node's URL field.

Security notes

  • Secrets are entered as password fields and encrypted by n8n's credential store.
  • Do not commit real secrets. login.py is gitignored.
  • The password grant is fine for trusted server-to-server / service-account logins, which is this node's use case.