Add Login/Auth to your React app in 5 mins

  Рет қаралды 299,267

CoderOne

CoderOne

Күн бұрын

Пікірлер: 96
@CoderOne
@CoderOne Жыл бұрын
🎉Our Newsletter is live! Join thousands of other developers islemmaboud.com/join-newsletter
@FreeCodingWorld
@FreeCodingWorld 9 ай бұрын
title says 5 mins, but the duration of the video is 13+ mins💀💀💀
@jacobmoore8734
@jacobmoore8734 7 ай бұрын
Which is funny cuz he's using a framework to speed up & simplify authentication
@stonecomstock
@stonecomstock Жыл бұрын
This is extremely helpful. Thank you so much!
@reyaustineechavez9600
@reyaustineechavez9600 Жыл бұрын
Hi Bro, thanks for the tutorial, I'm just wondering if you could do an extended tutorial on how to setup access levels or user roles?
@kamichikora6035
@kamichikora6035 Жыл бұрын
Dave gray has videos on that
@sangwaemmanuel6936
@sangwaemmanuel6936 Жыл бұрын
Thank you man, you gave just basics and gave them well
@sangwaemmanuel6936
@sangwaemmanuel6936 Жыл бұрын
Helped me to go around React authentication with my Spring Boot App, it worked like a charm
@samiRediAmaniTekeshAlazar
@samiRediAmaniTekeshAlazar Ай бұрын
thank you very much .. easy and straighforward ...!!
@brunofilgueiras3518
@brunofilgueiras3518 Жыл бұрын
thanks Islem, this was very useful, doing that manually can be a pain, I'll be considering using this lib as a solution for handling authentication, cheers.
@kimbapslayer1995
@kimbapslayer1995 2 жыл бұрын
Sometimes I think content creators are so funny. You just released a video "why JSON web tokens suck! You should stop using them!" 😂 Idk I find it funny
@nbjr3670
@nbjr3670 9 ай бұрын
Very nice and hjelpfull tutorial, thanks. but i would like to now what vsc color theme you are using. could you tell me some extensions you are using? couse i like it. thnaks in again.
@CoderOne
@CoderOne 9 ай бұрын
The theme is halcyon. Thanks ^^
@Chmelewsky
@Chmelewsky Жыл бұрын
glad i'm not the only one who refers to auth as creepy stuff 🤣
@DenzelLawrence-eq2xv
@DenzelLawrence-eq2xv 4 ай бұрын
This was helpful but can you do the same video using react with JavaScript+SWC?
@pabloa_e
@pabloa_e Жыл бұрын
That's not working for me ... It says babel pacakges error. And when running this with a project using SWC instead of babel, it totally break my app ...
@alessandrofoglia4581
@alessandrofoglia4581 Жыл бұрын
Can you make a refresh token video on this library?
@FreeCodingWorld
@FreeCodingWorld 9 ай бұрын
Thanks for this video
@nabinsaud4688
@nabinsaud4688 2 жыл бұрын
Please also provide the link of api used in this video
@pdxshadow9819
@pdxshadow9819 6 ай бұрын
He literally did in the description. Also used Yarn…
@tyndecor5236
@tyndecor5236 Жыл бұрын
how to use refresh token?
@Ronaldo7TFM
@Ronaldo7TFM Жыл бұрын
I get an infinite loop after SignOut or go to Private Routes
@oguisantosilva
@oguisantosilva 2 жыл бұрын
im getting an error: annot update a component (`AuthProvider`) can you please help me?
@joshuaeisenberger4975
@joshuaeisenberger4975 Жыл бұрын
i got the same, do you have a solution?
@ettoregiorgio2502
@ettoregiorgio2502 Жыл бұрын
same
@Ronaldo7TFM
@Ronaldo7TFM Жыл бұрын
I get an infinite loop after SignOut or go to Private Routes
@affanansari7698
@affanansari7698 Жыл бұрын
@@Ronaldo7TFM did you find a solution? im having the same problem here
@rodelcrisosto499
@rodelcrisosto499 Жыл бұрын
try using the version 2.12.7
@RomanKulyk-m9n
@RomanKulyk-m9n Жыл бұрын
If I need to be authorized in multiple subdomains and on a domain, is this possible with your library?
@tonmoytalukder4232
@tonmoytalukder4232 Жыл бұрын
What is the name of the theme you're using?
@dzbro1194
@dzbro1194 Жыл бұрын
great vid. helped me alot
@alcideswenner
@alcideswenner 2 жыл бұрын
What vscode theme are you using?
@ongkay250
@ongkay250 2 жыл бұрын
up
@paw565
@paw565 5 ай бұрын
Halcyon
@tharindudecosta
@tharindudecosta 7 ай бұрын
getting error "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."
@createnewthings2024
@createnewthings2024 6 ай бұрын
i'm facing the same error did u rectify it🙂
@ajaykathait7633
@ajaykathait7633 6 ай бұрын
me too
@joekimeu
@joekimeu 3 ай бұрын
same
@LETSSEEGOD
@LETSSEEGOD Жыл бұрын
Thanks a lot mate. You have saved a lot time
@VinayThool
@VinayThool 10 ай бұрын
Hi i am getting following error. Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. react-dom.development.js:28439 Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. App.js } />
@sudekarakus
@sudekarakus 8 ай бұрын
have you solved this error?im getting the same
@createnewthings2024
@createnewthings2024 6 ай бұрын
@@sudekarakus same error for me have you resolved this
@ajaykathait7633
@ajaykathait7633 6 ай бұрын
me too
@unmye
@unmye Жыл бұрын
i'm getting this message Module '"react-auth-kit"' has no exported member 'AuthProvider'. Did you mean to use 'import AuthProvider from "react-auth-kit"' instead
@unmye
@unmye Жыл бұрын
oh nevermind, I saw an issue in the docs saying I need to install react-auth-kit@2.12.7 instead
@nadeemr1070
@nadeemr1070 Жыл бұрын
@@unmye yes it fixed my error too.
@dzbro1194
@dzbro1194 11 ай бұрын
​@@unmye thanks for this comment, it fixed my error
@push-to-talkpodcast2864
@push-to-talkpodcast2864 Жыл бұрын
theme?
@nizamarif5825
@nizamarif5825 Жыл бұрын
Hi, the cookies are deleted when I refresh the page. Are they supposed to do that?
@murilobarbosa5062
@murilobarbosa5062 Жыл бұрын
did you solved this problem?
@nizamarif5825
@nizamarif5825 Жыл бұрын
​@@murilobarbosa5062 actually I didn't so I choose to save the token on the browsers state
@philsmithies
@philsmithies Жыл бұрын
@@murilobarbosa5062the usual way is to set it in your react context that wraps around the application
@gameplayerita5694
@gameplayerita5694 2 жыл бұрын
could the kit be used with nextjs?
@leodevbro
@leodevbro Жыл бұрын
The docs of "react-auth-kit" library says: "Works with Gastsby, Next JS".
@vosid02
@vosid02 Жыл бұрын
what's that ide?
@damilolaomotola7269
@damilolaomotola7269 Жыл бұрын
How do i persist login after refresh?
@_tilu4702
@_tilu4702 2 ай бұрын
Tutorial outdated, look at the documentation to get more informations.
@NoumanKhan-ck7vx
@NoumanKhan-ck7vx Жыл бұрын
how to use refresh token please tell
@tsalisrosyadi1441
@tsalisrosyadi1441 3 ай бұрын
Have you found that?
@NoumanKhan-ck7vx
@NoumanKhan-ck7vx 3 ай бұрын
@@tsalisrosyadi1441 yeah u axios instance wish i knew before
@tabetabada5824
@tabetabada5824 7 ай бұрын
awesome video
@erikm9768
@erikm9768 3 ай бұрын
thanks for not doing another lame sponsored auth0 video like every other sellout
@sruthyps4348
@sruthyps4348 Жыл бұрын
api not working
@felicytatomaszewska
@felicytatomaszewska Жыл бұрын
So you are saying that doing it from the scratch, understanding each and every step, controlling and customizing the process is crappy and creepy stuff?
@zakidzz
@zakidzz 2 жыл бұрын
can you make the same app but with next js? wnna see how to implemennt this with next js and also http only cookie
@monarchgam3r
@monarchgam3r 2 жыл бұрын
i think for nextjs, nextauth is the only library than can really work well
@zakidzz
@zakidzz 2 жыл бұрын
@@monarchgam3r next auth is full stack loking for secure client side
@monarchgam3r
@monarchgam3r 2 жыл бұрын
@@zakidzz well this library can't work for that..as it requires react router dom
@zakidzz
@zakidzz 2 жыл бұрын
@@monarchgam3r thnk s man
@mamlzy
@mamlzy Жыл бұрын
@@zakidzz are u already know how to make auth with next js for client side only?
@codewithfaizu1520
@codewithfaizu1520 2 жыл бұрын
i am waiting for your videos
@kunalahire5036
@kunalahire5036 Жыл бұрын
thanks
@mickey-ij7un
@mickey-ij7un Жыл бұрын
How can I prevent user from accessing '/login' as authorized user? I'm looking for something like the opposite to
@techstuff7568
@techstuff7568 Жыл бұрын
If logged in, redirect
@BADGRAPHIX
@BADGRAPHIX Жыл бұрын
7:03 is where he starts getting into the meat of what you actually do.
@paladin9876
@paladin9876 Жыл бұрын
based
@kkr600
@kkr600 Жыл бұрын
it's not 5 mins
@akosbalint3485
@akosbalint3485 2 жыл бұрын
Is it safe to store the jwt token in client side cookie?
@aniket-in
@aniket-in Жыл бұрын
Nope, you are vulnerable to XSS attacks. The authentication token cookie must be set from the server.
@codewithfaizu1520
@codewithfaizu1520 2 жыл бұрын
big fan of you
@siddheshbhosale9820
@siddheshbhosale9820 9 ай бұрын
less then 5 min and this video is of 13 min 😂😂
@BigSmoke-r9w
@BigSmoke-r9w 2 ай бұрын
I cant understand crap.
@Gollum69
@Gollum69 Жыл бұрын
hy guys, when I use const auth = useAuthUser(); console.log(auth().email); I get error "Object is possibly 'null'.ts(2531)" Could anybody help? thx
This is the Only Right Way to Write React clean-code - SOLID
18:23
Can You Find Hulk's True Love? Real vs Fake Girlfriend Challenge | Roblox 3D
00:24
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,6 МЛН
One day.. 🙌
00:33
Celine Dept
Рет қаралды 49 МЛН
Why I avoid useEffect For API Calls and use React Query instead
17:45
Add Authentication to React in 5 Minutes
14:35
freeCodeCamp Talks
Рет қаралды 13 М.
Create a Login and Registration Form in React JS
22:31
Bryam Loaiza
Рет қаралды 6 М.
JWT Authentication Tutorial - Node.js
27:36
Web Dev Simplified
Рет қаралды 1 МЛН
What Is JWT and Why Should You Use JWT
14:53
Web Dev Simplified
Рет қаралды 1,2 МЛН
Add Auth & Protect Routes in React in 3 Minutes (Kinde)
9:38
React Authentication in 5 Minutes
6:37
OktaDev
Рет қаралды 30 М.
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 657 М.
How To Debug React Apps Like A Senior Developer
21:07
Web Dev Simplified
Рет қаралды 172 М.