React Typescript Context Auth JWT - 35. Login

preview_player
Показать описание
React Typescript Context Auth JWT - 35. Login

Рекомендации по теме
Комментарии
Автор

To anyone wondering why their toastify/beautiful temporary popup-countdowncontainer not showing, remember both imports in App.tsx :D
Had to troubleshoot for a while, but figured maybe some import or line with toastify or other library was wrong. For me it was

import that was missing, that to say =
not only import { ToastContainer } from 'react-toastify'; is sufficient in App.tsx. Remember that.

cristofferostberg
Автор

Why didn’t you used zod insted of yup because you are using TS ?

TheKobraIRAQ
Автор

There are some classes e.g. <label
htmlFor="email"
className="block mb-2 text-sm font-medium text-gray-900"...

From where you get it? Bootstrap? where can i find place where these classes added to the project?

Brain_Bay
Автор

Should the Issuer's and Audience's values must be the same as the frontend's address ?
In our case the Issuer and Audience is on localhost and port 5246 but the frontend is on the port 3000. They are not matching.
I mean should the ports match?

aleksandromilenkov
Автор

Do you have a similar video but also implementing authorization? Like admin and user roles and permissions

alonsoestevam
Автор

hi, Teddy. i created loginPage, but function "loginUser" gives an error message: "loginUser is not a function". can I ask you to help solve this problem?

vissarionchicago
Автор

Anyone else has cors issues? I literally copied and pasted the code from github yet i still get the same issue over and over again...

kacper
Автор

Hey, teddy i copied the code from github and still got the (loginUser is not function error), can you please help me 😢

MohamedKhairy-ux