Commit e00533c
fix(deps): Remove spring-session-data-redis dependency
Spring Session conflicts with JWT-based stateless authentication.
The SessionRepositoryFilter was attempting to save sessions to Redis
even with SessionCreationPolicy.STATELESS, causing IllegalStateException
during OAuth2 login.
Changes:
- Remove spring-session-data-redis dependency
- Keep spring-boot-starter-data-redis for caching only
- Redis now used exclusively for:
* Refresh token storage
* Access token blacklist
* General caching
Fixes: Session was invalidated error after OAuth2 login
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 299199e commit e00533c
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | | - | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
0 commit comments