How to Use HttpOnly Cookie to Secure JSON Web Tokens (JWT) in ASP.NET Core Web API

Опубликовано: 15 Сентябрь 2024
на канале: Code Maze
4k
100

►► Master Web API development Best Practices:
►► Build great web apps in Blazor WebAssembly:
►► Support us on Patreon and get the source code:

In this video, I will show you how to secure our JWTs or JSON Web Tokens, when implementing the authentication and refresh token actions in our .NET Core applications. An HttpOnly Cookie is a tag added to a browser cookie that prevents client-side scripts from accessing data. It provides a gate that prevents the specialized cookie from being accessed by anything other than the server. Using the HttpOnly tag when generating a cookie helps mitigate the risk of client-side scripts accessing the protected cookie, thus making these cookies more secure.

LINKS MENTIONED IN THE VIDEO
►► Refresh Token in ASP.NET Core -

FOLLOW US ON SOCIAL MEDIA!
►►
►►
►►