Introduction

Roll your own auth

Copy & paste code to roll your own auth easily and for free

We recommend that you use a third party service that has proven over time to be robust, secure and scalable.

The issue is that it's really hard to find such criterias in a third party service, so rather than put your trust and money on such services that often times encounter security breaches and you suffer the consequences, it's better to roll your own auth initially then as your user base and team grows, it's much better to use a self hosted robust, scalable and secure auth system if any exists.

You can use this in order to build your own auth system.

Quick start via the CLI

npx ryo-auth@latest init
Starting the ryo-auth initialization process...
? Pick the auth approach you would like: Sessions
? Server side, pick the server side framework you are using: Express.js
? Pick the Database you would like to use: Sqlite
? Pick the ORM you would to use: Prisma
? Now client side, pick the client side framework you are using: Next.js

Or get started by choosing the approach you prefer