In this video I am going to show how to use better auth ( a fullstack authentication framework for typescript ) to implement features like:
user registrations
password reset
email verification
login with credentials
login with oauth
working with sessions
working with middlewares
working with plugins
role based access control
and lot of useful stuff.
Github repo: https://github.com/adityasinghcodes/better-auth-nextjs
[
00:00:00-
00:07:12]: Intro and project setup
[
00:07:12-
00:21:11]: Configuring better auth with email verification
[
00:21:11-
00:31:21]: Sign up
[
00:31:21-
00:38:40]: Accessing session and logout
[
00:38:40-
00:46:10]: Sign in with credentials
[
00:46:10-
00:50:10]: Sign in with oAuth
[
00:50:10-
00:57:08]: Password reset
[
00:57:08-
01:01:08]: Important things to know
[
01:01:08-
01:06:15]: Middleware
[
01:06:15-
01:19:14]: Cases you may encounter
[
01:19:14-
01:35:34]: Admin plugin