Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Authenticate a user in a workflow with openid connect

n8n template #1997
Intro This workflow needs a user to authenticate by using an openid connect provider in order to call the webhook. If the user is not authenticated, it starts a login process by using an Authorization Code with PKCE https://datatracker.ietf.org/doc/html/rfc7636, a standard way to authenticate users with openid connect. Then, after the user logs in, the webhook is refreshed and gets the user's token from a cookie. With this token, all details about the user are requested through the userinfo endpoint on the identity provider. How to set up with Keycloak Keycloak Keycloak is an open source identity and access management solution. Feel free to get a demo realm at https://please-open.it or get y

How to set it up

  1. Open template #1997 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. No app accounts to connect: every node is built into n8n.
  3. Click Execute workflow and step through each node's output to confirm the data looks right.
  4. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Authenticate a user in a workflow with openid connect" (https://n8n.io/workflows/1997). It uses: HTTP Request, Code, HTML. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. please-open.it published it free on n8n.io, and it has 6,996 views. It runs on n8n Cloud or a self-hosted n8n instance.

None. All 3 nodes are built into n8n.

Similar workflows

NameViews
  1. Ultimate Scraper Workflow for n8n43K
  2. Automated Stock Analysis Reports with Technical & News Sentiment using GPT-4o37K
  3. Content farming - : AI-powered blog automation for WordPress33K
  4. Scrape and summarize posts of a news site without RSS feed using AI and save them to a NocoDB26K
  5. OpenAI examples: ChatGPT, DALLE-2, Whisper-1 – 5-in-125K
  6. Daily Podcast Summary15K
  7. Realtime Notion Todoist 2-way sync with Redis8,614
  8. Extract And Decode Google News RSS URLs to Clean Article Links7,914