Using Spring Boot’s inbuilt OAuth2 Resource Server with security best practices for JWT based authentication Using Spring Boot’s inbuilt OAuth2 Resource Server for JWT based authentication. JWT Authentication with Spring Boot’s Inbuilt OAuth2 Resource Server
This article proposes a better approach to achieve JWT authentication for your SPA web application backend REST APIs using Spring Boot’s inbuilt OAuth2 Resource Server. In summary, the proposed approach is:
Recently I wanted to implement a backend REST API using Spring Boot for an SPA (single page app) written in ReactJS. I could simply use session based authentication (stateful), but it would introduce a new set of requirements like sharing session data across backend servers (without sticky sessions) and session aware load balancing (__sticky sessions) _when scaling horizontally. Either way, the backend will be handling the burden of maintaining each user’s session data (_aka. state). Therefore, I decided to go with stateless authentication.
A comprehensive step by step tutorial on securing or authentication RESTful API with Spring Boot, Security, and Data MongoDB
Learn what are the most important API security threats engineering leaders should be aware of and steps you can take to prevent them
In this post, I will show how to secure your spring boot based REST API. It has been more of a trend to secure REST APIs to avoid any…
I’ve been working with Restful APIs for some time now and one thing that I love to do is to talk about APIs.
What is REST? The REST acronym is defined as a “REpresentational State Transfer” and is designed to take advantage of existing HTTP protocols when used