Comments (10)
Referenced pull request fixes this issue.
from identityserver.
Hi @BenWolstencroft -- The reason I added the concrete dependency was because we needed to handle the concurrency scenarios, but perhaps we already had such checks in the interface base abstraction (tho I doubt it). I'll have a look at the PR.
from identityserver.
Hi @brockallen - thanks for the response.. if that's the case then I guess I can try adding a transient service to the builder. I'll be honest I thought that the concrete dependency was accidental - the other repositories in the same folder all have the IPersitedGrantDbContext - you guys know the detail better than I do!
from identityserver.
Yea, I know the other locations use the abstraction... this was a first cut, so I can think about it some more. To be honest I don't think I ever liked the DbContext abstraction. Do you use it at all (for testing), by any chance?
from identityserver.
@brockallen - looking through our codebase, i'll be honest it looks like we've implemented all of our extension methods etc using the IPersistedGrantDbContext as the type parameter, but only because it's the 'right thing to do' given there's an interface available. I don't think we would actually miss it (in our implementation) if it were gone.
For unit testing we simply switch our EF provider over from the PostgreSql to the InMemory Implementation, rather than making any replacements of the DbContext service itself.
from identityserver.
Ok, thanks for that feedback on your usage.
from identityserver.
Thanks Ben. I did a fix and we are publishing an updated preview now.
from identityserver.
@brockallen - just to confirm, should the change be in preview.2.12 ? looking at the code in the dll it appears to still be the concrete dependency, i'm still getting the service resolution exceptions thrown.
from identityserver.
Seems there was a timing issue...preview.2.13 on the way...
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)
- 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
- Check for empty ClientIds and Types collections in PersistedGrantFilter HOT 2
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.