Authorizer is an open-source authentication and authorization solution for your applications. Bring your database and have complete control over the user information. You can self-host authorizer instances and connect to any database (Currently supports 11+ databases including Postgres, MySQL, SQLite, SQLServer, YugaByte, MariaDB, PlanetScale, CassandraDB, ScyllaDB, MongoDB, ArangoDB).
For more information check:
Deploy production ready Authorizer instance using one click deployment options available below
|Infra provider||One-click link||Additional information|
This guide helps you practice using Authorizer to evaluate it before you use it in a production environment. It includes instructions for installing the Authorizer server in local or standalone mode.
git clone https://github.com/authorizerdev/authorizer.gitor use the forked url from step 1
cp .env.sample .env. Check all the supported env here
make clean && make
Note: if you don't have
make, you can
serverdir and build using the
go buildcommand. In that case you will have to build
npm run buildon both dirs.
Deploy / Try Authorizer using binaries. With each Authorizer Release binaries are baked with required deployment files and bundled. You can download a specific version of it for the following operating systems:
Note: For windows, we recommend running using docker image to run authorizer.
Unzip using following command
tar -zxf AUTHORIZER_VERSION -c authorizer
Change directory to
Run following command to start authorizer
Note: For mac users, you might have to give binary the permission to execute. Here is the command you can use to grant permission
xattr -d com.apple.quarantine build/server
DATABASE_NAMEare only configurable via platform envs
Note: One can always disable the email verification to allow open sign up, which is not recommended for production as anyone can use anyone's email address
This example demonstrates how you can use
@authorizerdev/authorizer-js CDN version and have login ready for your site in few seconds. You can also use the ES module version of
@authorizerdev/authorizer-js or framework-specific versions like
Note: Change AUTHORIZER_URL in the below code with your authorizer URL. Also, you can change the logout button component