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.
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.
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 ...
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."
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
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
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
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?
🎉Our Newsletter is live! Join thousands of other developers
islemmaboud.com/join-newsletter
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?
Dave gray has videos on that
Hi
What is the extension that you are using to see the Application in the Developer Tools panel.
thank you very much .. easy and straighforward ...!!
Thank you man, you gave just basics and gave them well
This is extremely helpful. Thank you so much!
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.
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.
The theme is halcyon. Thanks ^^
title says 5 mins, but the duration of the video is 13+ mins💀💀💀
Which is funny cuz he's using a framework to speed up & simplify authentication
Not working here. SignIn function is not saving the cookies😢
Can you make a refresh token video on this library?
Helped me to go around React authentication with my Spring Boot App, it worked like a charm
glad i'm not the only one who refers to auth as creepy stuff 🤣
im getting an error: annot update a component (`AuthProvider`) can you please help me?
i got the same, do you have a solution?
same
I get an infinite loop after SignOut or go to Private Routes
@@Ronaldo7TFM did you find a solution? im having the same problem here
try using the version 2.12.7
Please also provide the link of api used in this video
He literally did in the description. Also used Yarn…
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 ...
What vscode theme are you using?
up
Halcyon
If I need to be authorized in multiple subdomains and on a domain, is this possible with your library?
Hi, the cookies are deleted when I refresh the page. Are they supposed to do that?
did you solved this problem?
@@murilobarbosa5062 actually I didn't so I choose to save the token on the browsers state
@@murilobarbosa5062the usual way is to set it in your react context that wraps around the application
What is the name of the theme you're using?
great vid. helped me alot
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."
i'm facing the same error
did u rectify it🙂
me too
same
I get an infinite loop after SignOut or go to Private Routes
thanks for not doing another lame sponsored auth0 video like every other sellout
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
oh nevermind, I saw an issue in the docs saying I need to install react-auth-kit@2.12.7 instead
@@unmye yes it fixed my error too.
@@unmye thanks for this comment, it fixed my error
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
This was helpful but can you do the same video using react with JavaScript+SWC?
can you make the same app but with next js? wnna see how to implemennt this with next js and also http only cookie
i think for nextjs, nextauth is the only library than can really work well
@@monarchgam3r next auth is full stack loking for secure client side
@@zakidzz well this library can't work for that..as it requires react router dom
@@monarchgam3r thnk s man
@@zakidzz are u already know how to make auth with next js for client side only?
Thanks for this video
could the kit be used with nextjs?
The docs of "react-auth-kit" library says: "Works with Gastsby, Next JS".
how to use refresh token?
how to use refresh token please tell
Have you found that?
@@tsalisrosyadi1441 yeah u axios instance wish i knew before
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
} />
have you solved this error?im getting the same
@@sudekarakus same error for me
have you resolved this
me too
theme?
How do i persist login after refresh?
Thanks a lot mate. You have saved a lot time
7:03 is where he starts getting into the meat of what you actually do.
based
awesome video
what's that ide?
api not working
How can I prevent user from accessing '/login' as authorized user? I'm looking for something like the opposite to
If logged in, redirect
just eat the damn orange!
Tutorial outdated, look at the documentation to get more informations.
i am waiting for your videos
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?
Is it safe to store the jwt token in client side cookie?
Nope, you are vulnerable to XSS attacks.
The authentication token cookie must be set from the server.
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
big fan of you
thanks
it's not 5 mins
less then 5 min and this video is of 13 min 😂😂
I cant understand crap.
1.- You speak too much
2.- You speak too fast
3.- You repeat the same shit several times.
DO NO WASTE OTHER PEOPLE'S TIMES!
Also, your tutorial is absolute obsolete and useless