Using external idp and user management and bypass login page

Describe the problem/error/question

We are a company which providing user-managment and identity authentication and verification solutions, as part of our platform we would like to do a POC with embedded N8N version, the use case is to use n8n workflows within our systems without the need to login again to N8N. there is a possibility to force N8N authorization mechanism accept our JWT token?

What is the error message (if any)?

No Error

Please share your workflow

(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:
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @mtubul, welcome to the community!

I believe the JWT login mechanism isn’t officially supported anymore since user management has been rolled out. That said, you can still customize the login behaviour. The thread at Self hosted user management - #4 by MutedJam would have an example of how to use basic auth to authenticate with n8n v1, but you can of course check and validate your custom headers or query parameters with the JWT token instead.

@MutedJam Thanks for the informative answer and the reference,

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.