Comments (11)
Update nuget pushed.
Thanks for reporting!
from identityserver4.templates.
pinging @scottbrady91
from identityserver4.templates.
any update?
from identityserver4.templates.
I had to use this in my Program Class in WebHost (IWebHostBuilder)
UseDefaultServiceProvider(opt => opt.ValidateScopes = false)
from identityserver4.templates.
That's weird - let's ping @scottbrady91 again...
from identityserver4.templates.
Yeah, I'm getting the same error. How has this broken when there have been no code changes?
from identityserver4.templates.
Is that on 2.1 ?
Seems MS has turned on DI validation by default now. There is a hidden bug in the AdminUI DI setup I guess.
from identityserver4.templates.
Yeah, I didn't manually install 2.1. Thanks, Visual Studio!
from identityserver4.templates.
@richardblewett Rich, there seems to be a bug in how you setup DI. This error typically means you are resolving a scoped dependency somewhere while not being in a scoped context. This turns your dependency into a singleton.
It seems that starting with 2.1 MS turns on validation by default - hence the exception. Could you please fix and version the nuget, so we can create new templates.
from identityserver4.templates.
Pull request submitted that resolves issue
from identityserver4.templates.
Thanks all.
from identityserver4.templates.
Related Issues (20)
- dotnet new still installing asp.net core 2.1 templates HOT 2
- Updating UI .sh missing in IdentityServer4InMem template HOT 1
- SeedData doesnt fill ASPNetUserClaims table, after create is4aspid template (Sqlserver) HOT 1
- External authentication error with Windows Integration on is4aspid template HOT 2
- Production ready? HOT 1
- Redirect to http://localhost:5000/grants not working HOT 3
- How to install IdentityServer4.Templates in Visual studio 2019 and .net core 3.1 cli? HOT 11
- Fresh install of IdentityServer4AspNetIdentity does not work. HOT 1
- Unable to create client in Admin HOT 6
- Fresh Install of is4aspid template doesn't work with Google or Identity Auth HOT 3
- How can the configuration of the is4inmem template be done in JSON? HOT 5
- Support for IdentityServer4 (4.0.2) HOT 2
- is4aspid Template causes Local Authentication to not Redirect to Client Application following successful Login HOT 2
- Question regarding setting up a IdentityServer4 project with is4ui (http 404 error) HOT 1
- Not redirected to Spa client when using External authentication. Works when using username / pass. HOT 2
- Template relies on an uncompatible package Serilog.AspNetCore
- "dotnet new is4ui" not working
- GetAuthorizationContextAsync fails to parse the IdP value?
- "SQL scripts for SqlServer" link is broken
- is4admin doesn't show UI
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 identityserver4.templates.