Simple Next.js & React Authentication With Clerk

Simple Next.js & React Authentication With Clerk

Traversy Media

1 год назад

52,616 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

魔法師
魔法師 - 25.11.2023 15:13

真不错,学习了。

Ответить
Kamil T
Kamil T - 24.11.2023 14:43

I think instead of using auth(), for displaying certain elements on navbar when signed in or signed out you can use <SignedIn> </SignedIn> or <SignedOut> </SignedOut> from "@clerk/nextjs"

Ответить
Tin B Luu
Tin B Luu - 07.11.2023 22:56

One of the best tutorials on Nextjs + Clerk integration

Ответить
AayushMaan
AayushMaan - 19.10.2023 09:47

Error: Clerk: Clock skew detected. This usually means that your system clock is inaccurate. Clerk will continuously try to issue new tokens, as the existing ones will be treated as "expired" due to clock skew.

To resolve this issue, make sure your system's clock is set to the correct time (e.g. turn off and on automatic time synchronization).

---

JWT cannot be used prior to not before date claim (nbf). Not before date: Thu, 19 Oct 2023 06:43:38 GMT; Current date: Thu, 19 Oct 2023 06:43:29 GMT; (reason=token-not-active-yet, token-carrier=cookie)

this is the consent error keeps coming even after deployment ... how can I fix this ???

Ответить
Nghĩa PUBG
Nghĩa PUBG - 30.09.2023 05:38

Thanks bro! But How to change the clerk interface from English to another country's language?

Ответить
Sai Ram
Sai Ram - 26.09.2023 13:59

I know javascript (basics) and I have started learning react(read some documentation) is this a good place to start with and can I start building projects starting with this video or should I start from doing simple projects on this website like to-do app or something .Can some one guide me here.

Ответить
SB9783
SB9783 - 26.09.2023 09:46

Can you create a vlog covering reset password (forgot password) and change password journey? I want this mainly from security pov.

Ответить
#areesh
#areesh - 21.09.2023 18:17

Facing a clock skew error , any idea how to fix it ? 😪

Ответить
Philcob Tech
Philcob Tech - 18.09.2023 04:36

Hello, I didn't understand the [[...sign-up]] that much. Can anyone explain this better for me? Thanks!

Ответить
Encila J
Encila J - 16.09.2023 07:07

after looking and trying out other auth provider, clerk amaze me so much with its user friendliness .glad i subscribed in this channel. tnx more power!!

Ответить
N Bo
N Bo - 16.09.2023 03:53

Brad, I've been struggling with removing the header on the login and signup pages. any tips?

Ответить
Prajapati Nayan
Prajapati Nayan - 11.09.2023 00:08

I was having so many bugs when a user would try to sign in back with username and would give me a 404 page. After watching this video, I realized that I needed to have both sign-in and sign-up routes in the nested directory. Thank you so much

Ответить
Kaiyrkhan Kairolla
Kaiyrkhan Kairolla - 09.09.2023 17:41

put 2x speed

Ответить
Soumadip Banerjee 🌟
Soumadip Banerjee 🌟 - 06.09.2023 23:25

PLEASE UPDATE YOUR REACTJs COURSE(REACT FRONT TO BACK) ON UDEMY MR.TRAVERSY. Thank u ❤

Ответить
Vikram N
Vikram N - 04.09.2023 10:26

Thanks for the super-simple explanation and a first introduction to a delightful product. I'm so happy after days of searching around for a simple-to-use auth solution with a good tutorial for NextJS. I also appreciate that you decided to use Javascript and not Typescript.for this tutorial :)

Ответить
codeoz
codeoz - 02.09.2023 19:28

Why did you use the components folder in the app folder?

Ответить
orazziB
orazziB - 31.08.2023 21:49

idk about anyone else, but i followed this tutorial on a macbook, and using npm run dev. But i had to close out the localhost window many times, and re run the npm run dev like each time i updated my code. it wouldn't load properly or at all if i didnt x out of the window and re run npm run dev. I hope this helps someone.

Ответить
Jason Ahn
Jason Ahn - 27.08.2023 09:22

Thanks for the video. It's extremely helpful when you mention small bits of information (ie. users are able to remove clerk brand icon if they use premium subscription). Although it's not directly related to coding itself, it's very informative since otherwise we noobies need to search on our own!

Ответить
Mark Winters
Mark Winters - 21.08.2023 19:36

I found another tutorial on this, and it had issues. Next time I look Brad has a tutorial on it. Brad to the rescue.

Ответить
Absolution
Absolution - 16.08.2023 15:17

Thank you Traversy Media for this beautiful tutorial, loved it. I do have one ish though, my register button doesn't work but everything works fine but onclick of the button nothing happens even forked your repo and faced the same issue. I don't have any errors it just doesn't post, maybe I'm missing something

Ответить
Created by Denning
Created by Denning - 30.07.2023 18:01

Is it possible to do auth with an express API and next js

Ответить
Crazy Frog
Crazy Frog - 25.07.2023 15:36

I have difficulties even running the project... After following the instructions 100% and then using the command 'npm run dev' i get a huge eror that i cannot seem to come by. I tried using chatgpt (as it has got some really good answers at times), but it doesnt seem to help. Other than a huge error message, i get this at the bottom: "SyntaxError: Unexpected token '??='
at wrapSafe (internal/modules/cjs/loader.js:979:16)
at Module._compile (internal/modules/cjs/loader.js:1027:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (D:\Projekter\nextjs-react-clerk-authentication\node_modules\next\dist\telemetry\post-payload.js:17:20)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)".

Its a long shot, but has anyone else experienced a similar behaviour? I checked my node version which is 14.16 and npm version 8.15. I also installed clerk in the dependencies. Thanks for reading.

Ответить
AGS Indonesia
AGS Indonesia - 25.07.2023 10:40

Sir, when do you plan to make video on Angular 2023? Your explanation is second to none.

Ответить
Jahongir Salimov
Jahongir Salimov - 17.07.2023 21:57

Please make a video about Nuxt authentication with laravel back and..

Ответить
Liam阿廉
Liam阿廉 - 17.07.2023 14:11

Nice Sharing 👍

Ответить
Pog Boi
Pog Boi - 17.07.2023 11:14

Hey you are awesome man. Please never stop making videos. Your website is also spot on

Ответить
LifeTourist
LifeTourist - 17.07.2023 11:06

How are you doing Traversy? Glad to see you back. Didn't check out the tutorials lately cause it wasn't you) Hope you are doing well and see more awsome content from you.

Ответить
John Farah Church
John Farah Church - 14.07.2023 13:03

Thank you very much for this video tutorial. It is a great introduction to Clerk.!

Ответить
Codelery
Codelery - 13.07.2023 13:18

Sincerely speaking, creating authentication with email verification can be stressful and boring. It is awesome having a third party to take that pain away and focus on the unique features of your application. Good job Travis

Ответить
Andral Orelus
Andral Orelus - 12.07.2023 18:18

Thank you for the tutorial. Can not even explain how much I appreciate this. You're amazing!

Ответить
p r a c h l i t
p r a c h l i t - 12.07.2023 14:26

How does it compare with next auth
I want suggestions on what to use between these two

Ответить
Koo Yaw
Koo Yaw - 12.07.2023 04:09

I regret integrating it with my cryptotracker I am building. auth() only works on server components plus this keeps popping up after signing in

Uncaught Error: Clerk: Infinite redirect loop detected. That usually means that we were not able to determine the auth state for this request. A list of common causes and solutions follows.

Reason 1:
Your server's system clock is inaccurate. Clerk will continuously try to issue new tokens, as the existing ones will be treated as "expired" due to clock skew.
How to resolve:
-> Make sure your system's clock is set to the correct time (e.g. turn off and on automatic time synchronization).

Reason 2:
Your Clerk instance keys are incorrect, or you recently changed keys (Publishable Key, Secret Key).
How to resolve:
-> Make sure you're using the correct keys from the Clerk Dashboard. If you changed keys recently, make sure to clear your browser application data and cookies.

Reason 3:
A bug that may have already been fixed in the latest version of Clerk NextJS package.

Ответить
Prashant
Prashant - 11.07.2023 21:23

Hello Brad when will you update your Next Course please update it.

Ответить
Cube Dev
Cube Dev - 11.07.2023 19:55

Third party authentication just wasting your time. Trust me in real application u dont need this. It looks simple, but actually a lot of things are lack. Sorry to say this. Its okay if u just wanna try it.

Ответить
Dale Stewart
Dale Stewart - 11.07.2023 19:35

Another professional tutorial using Next.js & React Authentication With Clerk

Ответить
Guilherme Diniz dos reis gomes
Guilherme Diniz dos reis gomes - 11.07.2023 19:00

hey brad do a python course i need to learn from the best instructor

Ответить
Sery christian renaud
Sery christian renaud - 11.07.2023 09:55

thank

Ответить
Tech Innovation Center (TiC)
Tech Innovation Center (TiC) - 11.07.2023 05:52

Hey Brad thanks for the tutorial it was really awesome!

But if I ask is there any way you can store the the user data in your own local db instead?

Ответить
Xe054
Xe054 - 11.07.2023 05:31

I used clerk for a Remix app and i regret it. As soon as you need to customize something that's not documented, you're on your own. The discord help channel took a week for a reply. Luckily, brad has other videos on building your own auth which are great and that's what i ended up doing.

Ответить
Carlos Diaz Plaza
Carlos Diaz Plaza - 10.07.2023 21:00

Can you add this as an update for your E-Commerce Course @TraversyMedia?

Ответить
Emiedonmukumo Dick Boro
Emiedonmukumo Dick Boro - 10.07.2023 20:31

Please I need help with my project, I want a add a rich text editor to my content posting page, I use node Js, express and MongoDB Database,
I need help with tutorial or guide please

Ответить
Affolter Sascha
Affolter Sascha - 10.07.2023 20:24

Are you also gonna use Clerk as an auth. stack in your upcoming Next.js 13 featured course?

Ответить
mahmud
mahmud - 10.07.2023 20:11

miss the intro video sound

Ответить
coderNerd
coderNerd - 10.07.2023 19:10

3rd party for auth never is a good idea! Those start-ups are not stable and you're locked in and completely depend on their servers if anything happened with them your auth stop working. If their security fails your user data could leak. If they go out of business you loss all your users. And so many other things can go wrong....

Ответить
Crazcoder
Crazcoder - 10.07.2023 17:57

I watch all your videos 🎉. Really like it.❤

Ответить
a4cfee
a4cfee - 10.07.2023 17:05

Nice one

Ответить