Тёмный

Fast Next.js App Router Authentication and User Management with Clerk 

Clerk
Подписаться 1 тыс.
Просмотров 1,1 тыс.
50% 1

Learn how to add authentication and user management to your Next.js app using Clerk. Follow along as ‪@bookercodes‬ from Clerk shows you how to set up sign-up, sign-in, and secure user management with Clerk components.
🍪 CLERK
clerk.com/?...
⏰ TIMESTAMPS
00:00 - Introduction
01:14 - Overview of the project
01:28 - Setting up Clerk and Next
04:31- Build your own sign-up and sign-in pages
07:19 - Accessing user data in server-side component with the currentUser function
08:35 - Protecting Next.js routes with middleware
09:21 - Fetching and display user-specific data with the auth function
🔗 LINKS
Next.js Clerk quickstart - clerk.com/docs/quickstarts/ne...
Written guide on how to code custom sign-up and sign-in pages - clerk.com/docs/references/nex...

Наука

Опубликовано:

 

25 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@gncfhcnvc
@gncfhcnvc 12 дней назад
I would like to see how Clerk manages roles, such as ADMIN and CUSTOMER. It would be an interesting approach.
@gncfhcnvc
@gncfhcnvc 12 дней назад
That is a nice implementation
@bookercodes
@bookercodes 8 дней назад
🙏🏻
@timotiusanrez9492
@timotiusanrez9492 День назад
how to disable the sign up button as I only want the user to sign in?
@bookercodes
@bookercodes День назад
That is a great question, thank you for commenting. To *hide* sign up, tweak the SignIn component's apperance prop. Alternatively, build a custom sign in flow. In either case, remember to disable the Account Portal. Hiding is not the same as *disabling* because someone could still find a way to send a backend request and Clerk will allow it. To control who can sign up on the backend, check out the Clerk allow list feature. It's perfect for this.
@azmineabrar235
@azmineabrar235 9 дней назад
So, does clerk make all the webpages generated on demand from the server?
@bookercodes
@bookercodes 8 дней назад
If you use the Clerk Account Portal, yes, those pages are hosted by Clerk. If you use the AIO components I show in this video, those are hosted by you.
@fabianandrespachecozelada4208
@fabianandrespachecozelada4208 10 дней назад
hi, i have a question, if i need bulk a csv file with users data, but i upload to my supabase db first, can i create users after save data in supabase ?
@bookercodes
@bookercodes 5 дней назад
Yes, that is totally possible, but there are some nuances you should be aware of. If you get in touch on the Clerk Discord with the specifics, the team will be happy to help you work through it.
@fabianandrespachecozelada4208
@fabianandrespachecozelada4208 4 дня назад
​@@bookercodes oooh thanks, i will keep in mind
@schuylergood4897
@schuylergood4897 12 дней назад
Im encountering an issue where its so difficult to get my users data when they sign up into my database... do you have a tutorial for that?
@bookercodes
@bookercodes 5 дней назад
The awesome @hamedbahram has a video on this 🙌🏻 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-UTjwyDuVjRM.html
@whereisartist
@whereisartist 20 часов назад
Are you using webhooks to store them?
Далее
Power your next app with Clerk + Supabase
16:09
Просмотров 11 тыс.
Monster shops mini mart 👻🛒 #shorts
00:49
Просмотров 7 млн
10 common mistakes with the Next.js App Router
20:37
Просмотров 186 тыс.
The Right Way to do Auth with the Next.js App Router!
13:41
FullHD в 8К БЕЗ ПОТЕРЬ? |РАЗБОР
20:42
Main filter..
0:15
Просмотров 10 млн