Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an OIDC sample that uses Redis implementations #319

Open
dreamstar-enterprises opened this issue Sep 7, 2024 · 1 comment
Open

Add an OIDC sample that uses Redis implementations #319

dreamstar-enterprises opened this issue Sep 7, 2024 · 1 comment

Comments

@dreamstar-enterprises
Copy link

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:
spring-projects/spring-security#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

@dreamstar-enterprises dreamstar-enterprises changed the title Better documentation for how to implement Better documentation for how to implement OIDCRegistry for Redis Sep 7, 2024
@jzheaux jzheaux changed the title Better documentation for how to implement OIDCRegistry for Redis Document a Redis implementation for OidcSessionRegistry Sep 10, 2024
@jzheaux
Copy link
Contributor

jzheaux commented Sep 10, 2024

I think this would a be a good candidate for a sample, showing how to configure an OAuth 2.0 application using Redis as the backing store. As such, I'm moving this over to spring-security-samples.

@jzheaux jzheaux transferred this issue from spring-projects/spring-security Sep 10, 2024
@jzheaux jzheaux changed the title Document a Redis implementation for OidcSessionRegistry Add an OIDC sample that uses Redis implementations Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants