You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- MailService: switch to @PostConstruct to cache JavaMailSender once at
startup; warning logged a single time without PII instead of per-call
with recipient address (GDPR/noise concern raised by Copilot review).
- MailServiceTest: call init() after construction to simulate
@PostConstruct; no-sender tests use a dedicated service instance.
- README: clarify spring.security.oauth2.enabled is a framework
property (not a standard Spring Security key) and is opt-in only.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -261,7 +261,7 @@ Follow these steps to get up and running with the Spring User Framework in your
261
261
```
262
262
263
263
**Notes:**
264
-
-`spring-boot-starter-oauth2-client` is required even if you don't plan to enable social login. The framework's security chain wires OAuth2 user services at startup; the dependency must be on the classpath so the classes resolve. OAuth2 login itself remains disabled by default (`spring.security.oauth2.enabled=false`).
264
+
-`spring-boot-starter-oauth2-client` is required even if you don't plan to use social login. The framework's security chain wires OAuth2 user services at startup; the dependency must be on the classpath so the classes resolve. The OAuth2 login flow itself is disabled by default and opt-in — set `spring.security.oauth2.enabled=true` in your application properties only when you configure OAuth2 provider credentials (this is a framework property, not a standard Spring Security key).
265
265
-`spring-retry` needs an explicit version because Spring Boot's BOM may not manage this artifact. The version shown matches what the framework is built against.
0 commit comments