User sessions and authentication frequency

Hey there!

I started using n8n recently. My question is about the browser session for the UI. Is there any way to configure how often the user needs to sign in? The session in the browser seems to be persistent and to add more security we prefer to have the instance request authentication every 60 min or something long that timeline.

Is this possible?

Information on your n8n setup

  • n8n latest version
  • MariaDB on aws RDS
  • Running n8n via Docker on AWS

Hi @oluna777, welcome to the community :tada:

I am afraid the session duration isn’t currently configurable (you can find the available options here, they mostly cover the email functionality at this point). You might want to leave a vote on a previous feature request for this though:

If you don’t need multiple users in n8n itself, you could also consider setting up an n8n instance without user management behind a reverse proxy server implementing forward authentication. I am using Caddy + Authentik for this which allows you to configure the session length. This would also allow using 2FA for example.

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