How to change password on basic auth

Hi,

how do you change the password for basic auth? I did set a password but stupidly I’m not able to remember it.

It gets set as environment variables:
https://docs.n8n.io/#/security

So you can simply set what they are set to.

1 Like

The basic auth is posible, but only with docker?

Welcome to the community @wladneto!

No, exactly the same code is running. So both versions (npm & docker) are 100% identical and so have the same functionality and work the same.

The only thing that has to be done to activate basic auth is what is documented here (so setting three environment variables):
https://docs.n8n.io/reference/security.html