Add an OIDC sample that uses Redis implementations

Open
#319 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
java, redis, spring

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.

Description

status: waiting-for-triage

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)

https://docs.spring.io/spring-security/reference/reactive/oauth2/login/logout.html#_customizing_the_oidc_provider_session_strategy

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

Dominant language
Java
Stars
1.8k
Forks
797
Avg merge
3m
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from spring-projects/spring-security-samples

All issues in spring-projects/spring-security-samples

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.