Get Started

Introduction

Introduction to the invite plugin

GitHubSourcenpmNpm

The invite plugin allows you to invite users to your app. It supports two main invitation types:

  • Private Invitations: This invitations is targeted to a specific email address, ensuring only the intended recipient can use the invitation.
  • Public Invitations: Can be used by anyone that has the invite, it's ideal for role invitations (example: giving the role "discord-member" if you joined from the app's discord server)

Features

Private and public invites

Send private invites to friends with custom roles

Security in mind

Built with security best practices

Role upgrade

Use an invitation to upgrade your role

Account creation

Use an invitation to create your account

Type safe

Fully typed with TypeScript support

Easy to implement

Get started in minutes

... and much, much more

GitHub0-Sandy/better-auth-invite-plugin

5

How is this guide?

Last updated on

On this page