Тёмный
No video :(

Stay Fresh: .NET 7 Web API Refresh Tokens 🌊 

Patrick God
Подписаться 65 тыс.
Просмотров 19 тыс.
50% 1

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@axelbryancasauran5159
@axelbryancasauran5159 Год назад
I wish there is a database saving --so it's not only the "idea" we know but the actual usage as well.. i appreciate all your video.. very helpful!
@10Totti
@10Totti Год назад
And with identity!
@PatrickGod
@PatrickGod Год назад
Thanks for the feedback. I added it to my backlog. Complete authentication with a database would definitely be a great tutorial. 😊
@hashimal-mansouri9163
@hashimal-mansouri9163 Год назад
@@PatrickGod We're waiting
@user-uy8rw4yw1t
@user-uy8rw4yw1t 11 месяцев назад
It's a great comment. Web development means two things - ORM and API consumption, but not making counters and creating useless functions like console.log
@cherifdiallo5592
@cherifdiallo5592 Год назад
I would love to see you implement a polly retry to automate the refresh token
@mistert1628
@mistert1628 5 месяцев назад
you can use a custom middleware here.
@REDULE26
@REDULE26 Год назад
Hey Patrick, are you thinking about making a tutorial of a mobile app usage of this API ? With for example /get authenticated user profile.
@nelsonrivers8546
@nelsonrivers8546 Год назад
Can you create a video that shows how to implement RefreshToken and save it in a SQL Server database table ? I know you skimped over it in this video. Thank you for the videos on tokens so far. I am following your videos closely, so I can get this right in the real world.
@IvanKozlov-re9ez
@IvanKozlov-re9ez Год назад
Could you please push this changes in the repo?
@marcioalexandremarcondes557
@marcioalexandremarcondes557 5 месяцев назад
Cookie with SPA not working in just case... Backend (C#, Node.js, etc) return a access token and refresh token... And after this?? Well, only my opinion... Access token is not saved in database... Why refresh token is saved in database?? The security is in block or not the user in user table, not in create a table to insert the refresh token with user id and check out this...
@ccnieman4282
@ccnieman4282 6 месяцев назад
I'm actually having a hard time wrapping my head around transferring the refresh token (cookie) from the server to an Angular client, then that same client sending the same cookie back to the server during a "refresh token" call, without explicitly sending stringified values through REST, rather leaving them as cookies. I know in Angular's auth.service, a string is returned (the jwt value etc), but is the cookie also there and parseable somewhere? Thanks
@ramjayanthb1094
@ramjayanthb1094 Год назад
Hey patrick using this jwt token, authenticate in blazor please upload a video on it
@ChadDavid
@ChadDavid Год назад
How do you set up https on iis internal use only
@I-PixALbI4-I
@I-PixALbI4-I 6 месяцев назад
And now we have an issue with CORS because of Cookies) If your UI try to call RefreshToken endpoint it will get an Error.
@syedsaadsaeedhassni6372
@syedsaadsaeedhassni6372 11 месяцев назад
The github code is not updated
@alper337
@alper337 Год назад
Hello Patrick! thanks for the videos. I watched all of ur JWT token videos and i wanna ask question. Jwt token works fine in my application, but i get 'invalid token' error on jwt debugger even i use secret key??
@mihaistanciu2487
@mihaistanciu2487 10 месяцев назад
Hi. Sorry if this a stupid question, but from client app when shall I make a request to refresh token endpoint? When I start the client app and notice that the current token is expired? Thanks
@sitarampanta6519
@sitarampanta6519 7 месяцев назад
refresh tokens and the access token is created together while authenticated by server , behind the scene the refresh token is already kept in a safe place by the server so when access token is about to expire it automatically allows users to continue his use smoothly without re-login so there is no logic to make a request for refresh token while already entering inside the system its already set in the backend to check the expiry of the access token and replace it in the desired , so far user don't feel anything until the refresh token is expired
@ashvinpatel7912
@ashvinpatel7912 Год назад
i have completed full series of 4 videos. i have bit confusion. if i used this webapi in mobile application every 7 day user have to login again ??
@junior.santana
@junior.santana Год назад
No, the app would request a refresh token within the 7 days. If this doesn't happen, e.g., the app wasn't used during this period then the user would have to login again
@LegitoTV
@LegitoTV 6 месяцев назад
your last name suits you!
@PatrickGod
@PatrickGod 6 месяцев назад
That is very kind of you. Thanks! 😊
@souravsingha3340
@souravsingha3340 Год назад
Try to make keycloak
@andrey-qovalenko
@andrey-qovalenko 11 месяцев назад
56
Далее
CQRS & MediatR in a .NET 8 Web API 🚀
22:00
Просмотров 8 тыс.
ПОЁМ НАРОДНЫЕ ПЕСНИ🪗
2:04:11
Просмотров 1,1 млн
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
Просмотров 1,5 млн
.NET 6 🚀 AutoMapper & Data Transfer Objects (DTOs)
15:48
JWT Refresh Token in ASP.Net Core (a deep dive)
33:13
ASP.NET Core Full Course For Beginners
3:43:18
Просмотров 191 тыс.