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.
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.
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
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
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
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
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
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
thank you very much .. easy and straighforward ...!!
Helped me to go around React authentication with my Spring Boot App, it worked like a charm
This was helpful but can you do the same video using react with JavaScript+SWC?
This is extremely helpful. Thank you so much!
Thank you man, you gave just basics and gave them well
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 ^^
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.
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 ...
Can you make a refresh token video on this library?
glad i'm not the only one who refers to auth as creepy stuff 🤣
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
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
I get an infinite loop after SignOut or go to Private Routes
Please also provide the link of api used in this video
He literally did in the description. Also used Yarn…
Thanks for this video
If I need to be authorized in multiple subdomains and on a domain, is this possible with your library?
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
Thanks a lot mate. You have saved a lot time
great vid. helped me alot
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
What is the name of the theme you're using?
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, 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 vscode theme are you using?
up
Halcyon
how to use refresh token?
could the kit be used with nextjs?
The docs of "react-auth-kit" library says: "Works with Gastsby, Next JS".
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
thanks for not doing another lame sponsored auth0 video like every other sellout
awesome video
theme?
Tutorial outdated, look at the documentation to get more informations.
7:03 is where he starts getting into the meat of what you actually do.
based
How do i persist login after refresh?
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?
how to use refresh token please tell
Have you found that?
@@tsalisrosyadi1441 yeah u axios instance wish i knew before
api not working
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?
what's that ide?
thanks
How can I prevent user from accessing '/login' as authorized user? I'm looking for something like the opposite to
If logged in, redirect
less then 5 min and this video is of 13 min 😂😂
big fan of you
it's not 5 mins
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.
I cant understand crap.