ASPNET Core Authentication with JWT and Angular Part2
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=NSQHiIAP7Z8
►► Check out our courses: https://bit.ly/cdmz-courses • ►► Support us on Patreon and get the source code: / codemaze • In this video, we are going to learn how to implement JWT authentication inside the Angular project and also to enable Role-Based authorization with ASP.NET Core and Angular. • LINKS MENTIONED IN THE VIDEO: • To visit the whole article, mentioned in the video • ►► https://code-maze.com/authentication-... • For the previous video visit: • ►► • ASP.NET Core Authentication with JWT ... • For the CORS article, you can visit: • ►► https://code-maze.com/enabling-cors-i... • For the Refresh Token video: • ►► • How to Implement Refresh Token in ASP... • To visit our site: • ►► https://code-maze.com/ • FOLLOW US ON SOCIAL MEDIA! • ►► / marinko-spasojevic • ►► / codemazeblog • ►► / codemazeblog • VIDEO SUMMARY: • By default, you can’t send an AJAX request over HTTP to servers of a different origin due to the browser’s security concerns. The HTTP protocol is not secure as it sends the requests in plain text (at least HTTP v1 does) and anyone can potentially use a web proxy software to intercept and modify the request. • On the other hand, the HTTPS protocol is a secure way to transfer information, and some browsers by default allow requests to cross-origin servers on HTTPS. • So, what can we do? • We need to configure the server to receive cross-origin requests. By default, the ASP.NET Core application will reject any request coming from the cross-origin clients. To enable CORS in the .NET Core Web API, we need to implement middleware in the Configure method of the Startup class.
#############################
