Tagged articles
authorization-server
27 articles · Page 1 of 1
This tutorial walks through why OAuth2 is needed, its advantages, the project layout, Maven dependencies, YAML configurations, Java security and JWT setup, resource‑server integration, testing steps, and a side‑by‑side comparison of the four OAuth2 grant types, all with complete code examples.
AuthenticationJWTJava
0 likes · 21 min read

This article walks through building a complete OAuth2.0 solution in Spring Boot, covering core concepts, a comparison of the four grant types, project initialization, detailed configuration of the authorization and resource servers, custom login pages, end‑to‑end testing, advanced optimizations, and security best‑practice recommendations.
JWTJavaOAuth2
0 likes · 24 min read

Spring Authorization Server has been integrated into Spring Security 7.0, ending its independent lifecycle; the article explains the three historical eras, the reasons for the merge, and provides concrete dependency and configuration changes—including Lambda DSL updates—to help developers migrate from SpringBoot3 to SpringBoot4 with minimal effort.
JavaOAuth2Spring Security
0 likes · 11 min read

This guide walks you through configuring Spring Boot 3 with Spring Security OAuth2 Authorization Server to enable OpenID Connect, covering bean setup, client registration, token retrieval, user info customization, and accessing the OpenID configuration endpoint, complete with code examples and essential notes.
BackendJavaOAuth2
0 likes · 7 min read

This article walks through the fundamentals of OAuth2.0, explains its roles and grant types, and provides a complete Spring Boot implementation of an authorization server, resource server, and test controller with code snippets and sample requests.
OAuth2Spring Bootauthorization-server
0 likes · 12 min read

This article explains the OAuth2 authorization code flow and provides a step‑by‑step guide to creating a PHP‑based authorization server, including installing the bshaffer/oauth2‑server‑php library, writing the server code, setting up the MySQL client table, and testing token requests.
BackendOAuth2PHP
0 likes · 6 min read

This article provides a comprehensive overview of OAuth 2.0 concepts, grant types, and step‑by‑step instructions for building an authorization server and a resource server using Spring Boot, including configuration classes, token services, security settings, and testing procedures.
JavaOAuth2.0Spring Boot
0 likes · 12 min read

This article introduces OAuth 2.0 concepts, roles, and grant types, then provides a step‑by‑step Spring Boot implementation for an authorization server and a resource server, including configuration classes, Maven dependencies, test endpoints, and screenshots of the authentication and token‑validation process.
JavaSpring Bootauthorization-server
0 likes · 12 min read

This article introduces the core concepts and roles of OAuth 2.0, explains its four grant types, and provides a step‑by‑step Spring Boot implementation with complete configuration classes, dependency setup, and testing procedures for both authorization and resource servers.
Java securitySpring Bootauthorization-server
0 likes · 12 min read

This guide walks through creating a Spring Boot 3.3.3 microservice permission framework with OAuth2, covering technology stack, core features, project structure, step‑by‑step service startup, token acquisition, API calls, and provides the complete source repository for hands‑on experimentation.
JavaOAuth2Spring Boot
0 likes · 8 min read

This article explains the differences between confidential and public OAuth2 clients, illustrates the authorization‑code interception risk, and provides a step‑by‑step Spring Boot 3 implementation of PKCE—including configuration, code verifier generation, and token exchange—to harden security.
OAuth2PKCESpring Boot
0 likes · 8 min read

This guide walks through setting up Spring Authorization Server on Spring Boot 3.1 with JDK 17, covering environment setup, required dependencies, custom security filter chains, in‑memory user and client configurations, JWT signing, endpoint settings, consent service, and step‑by‑step testing of the authorization code flow.
JavaOAuth2OpenID Connect
0 likes · 9 min read

This tutorial walks through creating a full‑featured OAuth2 authorization server using Spring Boot 2.4.12, storing tokens in Redis, defining client and user entities in MySQL, configuring grant types, and testing the authorization, password, client‑credentials, and implicit flows.
JavaOAuth2Redis
0 likes · 15 min read

This article explains how to customize the login, authorization, and error pages of the OAuth2 authorization‑code flow in a Spring Cloud Alibaba project, providing step‑by‑step instructions, code examples, and configuration details for Spring Security integration.
JavaOAuth2Spring Cloud Alibaba
0 likes · 7 min read

This article explains how to migrate from the deprecated Spring Security OAuth to Spring Authorization Server, covering Java 8 compatibility, extended grant types, Redis token storage, token formatting enhancements, custom authorization code handling, and resource server improvements, all demonstrated on the PIG microservice platform.
Java 8OAuth2Redis
0 likes · 6 min read

This article explains how to replace the deprecated Spring Security OAuth2 with a modern Spring Authorization Server solution, detailing the authentication flow, required components, configuration examples for Spring Cloud Gateway, Resource Server, and Id Server, and provides step‑by‑step demo instructions.
OAuth2Spring Cloud GatewaySpring Security
0 likes · 9 min read

This guide walks you through replacing Spring Security OAuth2.0 with the production-ready Spring Authorization Server, showing how to add OAuth2 client, resource server, and authorization server dependencies, and demonstrating a complete authorization‑code flow demo with detailed request/response examples and configuration snippets.
JavaOAuth2Spring
0 likes · 7 min read

This guide walks through creating a Spring Boot 2.2.11 OAuth2 authorization server that stores tokens in Redis, defines custom client and user entities, configures grant types, and demonstrates testing each flow, complete with code snippets and configuration files.
JavaOAuth2Redis
0 likes · 17 min read

This tutorial walks through setting up Spring Authorization Server 0.2.0 on Spring Boot 2.5.3, covering required dependencies, security configuration, SAS server setup, testing the authorization code flow, token exchange, refresh, and revocation, with complete code snippets and curl commands.
JavaSecuritySpring Boot
0 likes · 7 min read

On August 17, Spring announced that Spring Authorization Server has left experimental status and entered the Spring Project family with a production‑ready 0.2.0 release, supporting most of OAuth 2.1 and adding OpenID Connect 1.0 support, and provided a new GitHub repository for developers.
JavaOAuth 2.1OpenID Connect
0 likes · 3 min read

This tutorial walks through setting up a Spring Boot 2.2.11 OAuth2 authorization server that stores tokens in Redis, covering Maven dependencies, YAML configuration, JPA entities, DAO interfaces, core server configuration, custom client details, authentication provider, password encoder, and detailed testing of all OAuth2 grant types.
OAuth2SecuritySpring Boot
0 likes · 16 min read

This guide walks you through setting up Spring Authorization Server 0.1.0 on Spring Boot 2.4.2, covering Maven dependencies, bean configurations, token customization, and testing with curl commands for authorization code flow, token issuance, refresh, and revocation.
SecuritySpringauthorization-server
0 likes · 7 min read

This tutorial walks through setting up Spring Authorization Server on Spring Boot 2.4.2, covering Maven dependencies, custom bean configuration, token generation, testing with curl commands, and token customization options, providing a complete example for OAuth2 authorization implementation.
JavaSecuritySpring Boot
0 likes · 6 min read


21CTOJun 11, 2020 · Information Security
This guide walks developers through the OAuth2 workflow, illustrating how users, client applications, resource servers, and authorization servers interact via access tokens to securely protect and grant access to user data, and highlights the critical steps of token issuance and validation.
OAuth2Securityaccess token
0 likes · 8 min read

This article walks through the OAuth2 workflow, explaining why access tokens are needed, the roles of the resource server, client application, and authorization server, and how tokens are requested, issued, validated, and used to protect user data.
OAuth2Securityaccess token
0 likes · 7 min read

Spring has announced a community‑driven Spring Authorization Server project to fill the gap left by the outdated Spring Security OAuth, aiming to provide modern OAuth support within the Spring ecosystem and inviting contributors to help it succeed.
OAuth2Springauthorization-server
0 likes · 3 min read

This article explains how to create an open platform using OAuth2.0 authorization code flow, configure Spring Cloud dependencies, set up the authorization and security servers, test the endpoints, and customize the login and confirmation pages, providing complete code examples and diagrams.
OAuth2.0Spring Cloudauthorization-server
0 likes · 7 min read
