Get Started with Spring: Security and Identity Management
Published on November 19, 2021New to Spring and Auth0 by Okta?
Spring is a web framework built on the Servlet API that follows the Model-View-Controller design pattern. The web framework can leverage Spring Security to help developers build applications that are secure by design. Spring Security is a powerful and highly customizable authentication and access-control framework. You can integrate the Auth0 Identity Platform with Spring Security features to deliver a balance between security, privacy, and convenience to your users.
Auth0 handles billions of login transactions each month. That's only possible because Auth0 is committed to solving complex identity problems by empowering developers with tools that meet their unique security needs and requirements.
Quickstarts
Spring Interactive Quickstart
This interactive guide demonstrates how to integrate Auth0 with any new or existing Spring Boot application.Spring API: Authorization
This document demonstrates how to add authorization to a Spring API using Spring Security.Spring API: Using your API
This document shows you how to use a secured Spring API.Spring API: Troubleshooting
This document will help you troubleshoot your Auth0 configuration if you get unexpected responses from your secured Spring API.SDK Libraries
Code Samples
Spring Code Sample:Basic API Authorization
Java code sample that implements token-based authorization in a Spring Web API server to protect API endpoints, using Spring Security and the Okta Spring Boot Starter.Spring Functional Code Sample:Basic API Authorization
Java code sample that implements token-based authorization in a Spring Web API server to protect API endpoints, following a functional approach.Spring Code Sample:API Role-Based Access Control
Java code sample that implements Role-Based Access Control (RBAC) in a Spring Web API server to protect endpoints, using Spring Security and the Okta Spring Boot Starter.Spring Functional Code Sample:API Role-Based Access Control
Java code sample that implements Role-Based Access Control (RBAC) in a Spring Web API server to protect API endpoints, following a functional approach.