Spanish Total.js
English
Documentation For AI agents
Contents

Install from source

Install OpenAuth with Node.js and start it on your computer or server.

.md GitHub
On this page

You need Node.js 16 or newer and Git.

Install and start

1. Get the code and open its folder:

git clone https://github.com/totaljs/openauth.git
cd openauth

2. Install the dependencies (once):

npm install

3. Start OpenAuth:

npm start

4. Open http://localhost:8000/ in your browser. OpenAuth opens the admin interface at /setup/.

5. Set a primary access token straight away. See Protect the admin interface.

OpenAuth keeps running until you stop it with Ctrl+C in the terminal.

Use another port

npm start uses port 8000. To use another port, start OpenAuth with Node.js and pass the port:

node index.js 8080

Where your data is saved

Tokens, provider settings, installed extensions and the sign-in log are saved in the databases folder inside the OpenAuth folder. See The data folder and Back up your data.

Before other people can reach OpenAuth, read Run in production.

Made in Europe