Auth.js V5 Asynchronous Callback Tutorial

Auth.js V5 Asynchronous Callback Tutorial

2.857 Lượt nghe
Auth.js V5 Asynchronous Callback Tutorial
In this video, I go over the asynchronous callbacks that are available to use when authenticating an user through Auth.js. These callbacks are called when a certain action is performed and allows you to call that function. You will be able to append more properties to the session object, so you can display more information to your end user. Learn about the JWT, Session and SignIn callback when using Auth.js v5 with TypeScript and Next.js 15. Time Stamps 0:00 Intro 0:41 Explaining the JWT Callback and how it works 5:08 Coding the JWT Callback function 6:53 Create Util functions for fetching users 12:04 Continue coding the JWT Callback function 16:30 Session Callback Explanation and Coding 22:27 SignIn Callback Function Explanation and Coding 28:37 How To Show The Error Messages 30:28 Outro