Comments (4)
Have you turned on caching for the client store?
https://docs.duendesoftware.com/identityserver/v5/data/configuration/#caching-configuration-data
from identityserver.
Ahh, missed that part of the documentation when I configured EF operation stores. So I added this:
builder.AddConfigurationStoreCache();
and slowness and queries did go away. It doesn't even produce the client configuration validation logs any more.
I'm still curious on why it would perform those validations against database so many times without caching (I guess it's some low level internal implementations/verifications for security?), and why the default EF ClientStore
was written to do 10 individual queries instead of one Include/join.
from identityserver.
The internal implementation is data access agnostic. That's why you can "decorate" your data store with a cache.
from identityserver.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue.
from identityserver.
Related Issues (20)
- Clean up ValidatedAuthorizeRequest extension methods (ToOptimized...)
- Add Otel metrics to PAR implementation HOT 4
- Add extensibility points to the /connect/authorize/callback endpoint HOT 8
- DCR: Client metadata elements used from the software statement MUST also be returned directly as top-level client metadata values in the registration response HOT 5
- Expose original and suppressed prompt modes on validated authorize requests HOT 14
- Feature request: Add Activity.Current.Id to ErrorMessage (and maybe Events) HOT 3
- CryptographicException when calling _interaction.GetAllUserGrantsAsync() HOT 7
- Adding a JSON claim to the JWT/Userinfo endpoint is a bit unintuitive because of different valueType constants HOT 7
- Back channel logout token might incorrectly contain `logout_token` as `iss` HOT 5
- Polling interval and throttling service
- Updating signing in build pipeline
- Unify EF Test Infrastructure
- Support absolute expiration of server side sessions when CoordinateLifetimeWithUserSession is enabled
- Consider marking the IdentityServer session cookies with `__Host` prefix
- OpenTelemetry Metrics Naming HOT 5
- Evolve IConcurrencyLock.Unlock to allow asynchronicity
- Raise an error if the idp doesn't match the requested idp HOT 2
- duende.identityserver is missing NuGet package README file
- Consider different approach for optional services from DI HOT 1
- Filter subject tokens (from token exchange) from logs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from identityserver.