Open aramirezh-dev opened 1 year ago
@leastprivilege Hi, I'm looking to add the ability to choose an IDistributedCache implementation, like using in-memory for introspection and redis for the other app. I don't want to store plain user data in redis for security reasons.
I can pass in my cache implementation to the OAuth2IntrospectionHandler by registering it via Func<IServiceProvider, OAuth2IntrospectionHandler> which call contructor directly. Unfortunately, this trick doesn't work for the PostConfigureOAuth2IntrospectionOptions, as it's an internal class.
I can create PR if you help me pick right approach for implementing this.
@leastprivilege @brockallen up
I have similar problem. Would you please address this? @leastprivilege @brockallen
Question: Is it possible to change the IoC for IDistributedCache to use MemoryDistributedCache only for PostConfigureOAuth2IntrospectionOptions? I have a lot of issues with redis connection