N8n_auth cookie max age

Describe the issue/error/question

Can i setup the max time user can stay logged in?

What is the error message (if any)?

none

Please share the workflow

(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)

Share the output returned by the last node

Information on your n8n setup

  • **n8n version:**0.88.0
  • **Database you’re using (default: SQLite):**MariaDB 10.4
  • **Running n8n with the execution process [own(default), main]:**own
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: npm

Hi @Nikolas_Stylianides, welcome to the community :tada:

I don’t think the session length can be configured currently I am afraid (it seems to be hardcoded here: n8n/jwt.ts at a18081d749c51d497645d43614fdccb220344607 · n8n-io/n8n · GitHub).

So for now I’ve converted your question into a feature request allowing you and other users to vote on having this changed.

1 Like