How to use the JWT authentication?

Hi, What’s the ideal way of passing down the JWT token for authentication? I pass it through headers with the help of nginx, and the n8n app loads, but the resources (CSS, JS etc.) and the calls to /rest/* apis fail because of authentication error. An example would be very helpful.

Hey @San_Trans!

Welcome to the community :tada:

Just to make sure that I understand it correctly, you want to add authentication to the n8n instance. You’re not talking about any particular node or integration, right?

If it’s the former one, I found this PR that might help: JWT authentication with Auth0 by tovbinm · Pull Request #866 · n8n-io/n8n · GitHub

1 Like