Authentication and Authorization: Next JS 14 Full Stack Real Estate Project- Part 4

preview_player
Показать описание
In this video we will enforce the authentication and authorization on Edit Property Page.

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

Thanks Sakura I just completed the 3rd part 3 hours ago
You dropped this thanks Sakura

prashlovessamosa
Автор

Thanks, one question. can the unauthenticated response from the API be checked in the middleware. Suppose I authenticated first and was there for 5 minutes on the same page, so when I again hit the API, then the token stored is expired, so i will be redirected to login in this case. But as we have many api request, is there any central place where the API response is checked, like as we do before the authentication in middleware. so can we run the middleware logic for the API response using fetch API

HigherStudyAspirant
Автор

why use typescript insted of javascript

आत्मारामतुकारामभीड़ें