You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
@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.
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
The text was updated successfully, but these errors were encountered: