spring-projects / spring-projects/spring-security-samples
Add an OIDC sample that uses Redis implementations
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 797
- Avg merge
- 3m
- Merged PRs (30d)
- 5
Description
Expected Behavior
It is possible to enhance the documentation here to show how one can implement this with Redis? The OIDC Session Registry (for BackChannel Logouts)
Current Behavior
Currently because of a memory leak issue:
https://github.com/spring-projects/spring-security/issues/14558
I don't implement OidC. See my implementation here:
https://github.com/dreamstar-enterprises/docs/blob/master/Spring%20BFF/BFF/src/main/kotlin/com/frontiers/bff/auth/repositories/oidcsessionregistry/OidcSessionRegistryConfig.kt
But it would be nice to know how to use it.
This is in my main config file here (but it is turned off):
https://github.com/dreamstar-enterprises/docs/blob/master/Spring%20BFF/BFF/src/main/kotlin/com/frontiers/bff/auth/BffSecurityConfig.kt#L189
Context
How has this issue affected you?
I am in month 3 of my Spring BFF login page. It would be nice to know how to properly implement my BFF with backchannel logout
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the referenced Spring Security documentation section on customizing the OIDC provider session strategy, then review the linked OidcSessionRegistryConfig.kt and BffSecurityConfig.kt examples. Add a sample showing how to use Redis for the OIDC Session Registry and back-channel logout, with the documentation making the setup and usage clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis, spring
- Domain
- authentication, backend, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100