-
Notifications
You must be signed in to change notification settings - Fork 1.3k
How-to: Implement core services with JSON-backed store #1019
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
Comments
Is there an implementation for Redis now I saw a Redis implementation here before, but now it's gone |
I'm waiting. |
I guess this could be used with MongoDb aswell, looking forward! |
I tried implementing a RedisOAuth2AuthorizationService: https://github.com/wapkch/spring-authorization-server-demo/blob/main/src/main/java/sample/redis/RedisOAuth2AuthorizationService.java |
I implemented a In the future, I will try to use the same method to implement |
Sorry, didn't have time to implement it until now, have now added Redis based RedisRegisteredClientRepository: RedisOAuth2AuthorizationConsentService: |
How-to: Handle the expiration of the Secondary Index |
There is currently no good solution. One stupid way is to manually set the expiration time of the Secondary Index. |
Problem solved; |
See gh-1711 as it adds Redis implementations of the core components ( |
When saving in the RedisOAuth2AuthorizationService class, there is an error "java.lang.reflect.InaccessibleObjectException: Unable to make field protected java.lang.String sun.net.www.protocol.https.Handler.proxy accessible: module java.base does not "opens sun.net.www.protocol.https" to unnamed module @3c72f59f "in the save method. The problem is the pricipal object. I set --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED but it did not help
|
We should provide a guide that demonstrates how to implement
RegisteredClientRepository
,OAuth2AuthorizationService
andOAuth2AuthorizationConsentService
using a JSON-backed store (e.g. Redis).Related gh-558
The text was updated successfully, but these errors were encountered: