MENU

Fun & Interesting

Tutorial. Spring Cloud API Gateway security with JSON Web Tokens

ORIL 19,044 lượt xem 1 year ago
Video Not Working? Fix It Now

Would you like to enhance your software security? In this video tutorial, ORIL`s Lead Software Engineer, Ihor Kosandiak, shows you how to secure your microservices architecture with JSON Web Tokens (JWT). You’ll learn how to implement token authentication mechanisms to authorize and verify users in the system.

For this tutorial, we use Java 11, Spring Boot, Spring Cloud, JWT, Maven, MacOS, and IntelliJ IDEA.

0:00 Intro
0:18 Project setup: Root module and Discovery service
2:21 Config service module.
4:33 Fetch connection data from Git.
5:55 Create Auth service module.
7:28 JWT builder implementation.
10:39 Auth service functionality.
15:07 Add bootstrap.yml to auth service.
15:31 User service module.
19:25 API Gateway service configuration.
24:43 Filter implementation.
26:17 Clearing things up, preparation for starting up the services.
26:52 Postman request test One.
29:07 Postman request test Two.

👨‍💻 Read more about Spring Cloud Gateway security with JWT in our article https://oril.co/blog/spring-cloud-gateway-security-with-jwt/

Look for this project on GitHub https://github.com/oril-software/spring-cloud-api-gateway-jwt.

Visit ORIL`s website https://oril.co


Follow us:
🔸 LinkedIn: https://www.linkedin.com/company/oril-software
🔸 Facebook: www.facebook.com/orilsoftware
🔸 Instagram: www.instagram.com/orilsoftware
🔸 Behance: https://www.behance.net/oril-software

#development #softwaredevelopment #tutorial #java #springboot #Springcloud #APIGateway #security

Comment