Integrate Keyloack with n8n docker-compose

Describe the problem/error/question

We already have our keycloak running on our server and now we want to integrate it with n8n deployed with docker-compose

What is the error message (if any)?

no error message but when i GET http://lxdvxtsgv013.sg.uobnet.com:5678/rest/settings, seems like no auth related to keycloak

Please share your workflow

just for keycloak integration

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.84.0
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: linux RHEL

Hey @Beiji_Li hope all is well.

Just to better understand the request, are you asking about keycloak, or about n8n?

Hi Jabbson, thanks for the prompt reply! I have setup a openid client inside keycloak already, so its more on the n8n side configuration how can i connect them to let n8n use keycloak to authenticate

hi @jabbson can i check any update on this topic thanks

Hi there, I don’t use keycloak and never use that. But maybe I can help a little bit, before that, I wanna know what type of auth is for keycloak? Is it bearer, token, or oauth? Thanks!