-
Notifications
You must be signed in to change notification settings - Fork 344
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
Warn when non-distributed cache detected #1550
Conversation
src/IdentityServer/Configuration/DependencyInjection/ConfigureOpenIdConnectOptions.cs
Outdated
Show resolved
Hide resolved
937cca0
to
47728c4
Compare
47728c4
to
9735889
Compare
Marking this as draft to keep it on hold until build issues in releases/7.0.x have been fixed. |
9735889
to
59738c9
Compare
The 7.0 release should be fixed now, yet the checks still failed? That was so weird that I rebased this branch to try again... |
Okay, not sure why a rebase was necessary, but it looks like the build works now. @AndersAbel - do we need this in a 7.0 patch release? |
@josephdecock I don't think we need a release just for this. I've had a couple of support cases caused by people running the OIDC Formatter with the in memory distributed cache. This will reduce the risk for people hitting that, but it can go with the next release. |
Can we mark this with label and milestone? |
Log (info level) if OIDC state data formatter is enabled with in memory distributed cache.
I've had a few cases in support where the Oidc state data formatter has been enabled but the distributed cache is the default memory based version. IdentityServer (unfortunately?) adds the in memory implementation as a fallback so it is easy to miss this. A warning message similar to the ones we have for in memory persisted grants should help.