Spring Security CORS: How to configure CORS in Spring Boot & Spring Security
In this tutorial, you will learn how to configure Cross-Origin Resource Sharing (CORS) with Spring Boot and Spring Security. CORS is an HTTP header-based mechanism that lets you specify in a flexible way what kind of cross-domain requests should be authorized. You will learn how to configure CORS in a Spring Boot application at a controller, method, and global level. You will also learn what to configure when you bring Spring Security into your application.
🔗Resources & Links mentioned in this video:
Github Repo: https://github.com/danvega/spring-security-cors-demo
Cross-Origin Resource Sharing (CORS) MDN https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS:
👋🏻Connect with me:
Website: https://www.danvega.dev
Twitter: https://twitter.com/therealdanvega
Github: https://github.com/danvega
LinkedIn: https://www.linkedin.com/in/danvega
Newsletter: https://www.danvega/dev/newsletter
SUBSCRIBE TO MY CHANNEL: http://bit.ly/2re4GH0 ❤️