Java Architecture Diary
Apr 29, 2020 · Backend Development
Enforcing Single-Device Login with Spring Security OAuth2
This article explains how to modify Spring Security OAuth2's token service to enforce a single-device login by customizing token creation and key generation logic, removing existing tokens for the same user and ignoring client identifiers, with code examples and deployment steps.
JavaOAuth2Single Sign-On
0 likes · 5 min read
