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
Run dotnet new angular --auth Individual --name "Test Project" --output "Test Project"
Open Test Project.csproj in an IDE
Run Test Project (only tested without IIS Express, but it probably doesn't matter)
Wait for the SPA Proxy to launch
Open the SPA and click Login
Observe the log output:
Log Output (Click to Open)
fail: Duende.IdentityServer.Validation.DefaultResourceValidator[0]
Scope Test not found in store or not supported by requested resource indicators.
fail: Duende.IdentityServer.Validation.DefaultResourceValidator[0]
Scope ProjectAPI not found in store or not supported by requested resource indicators.
fail: Duende.IdentityServer.Endpoints.AuthorizeEndpoint[0]
Request validation failed
When the Angular client tries to log in with OpenID Connect, it requests the scopes of Test ProjectAPI openid profile. This should probably be Test_ProjectAPI openid profile. I'm not sure if the scopes are being set correctly in the backend by the Identity Server. This breaks the login/registration flow as well as the Fetch Data tab. I haven't tested this with the React or Vue templates, but it is possible that this issue might not only occur in the Angular template.
Specifications
OS: Windows 11 21H2 IDE: JetBrains Rider 2022.1.1 .NET: v6.0.202
Note:
I'm not sure whether this is an issue with the Angular SPA template, the Identity Server, or ASP.NET Core. If this issue would be better suited to another repository, please let me know.
Steps to Reproduce
dotnet new angular --auth Individual --name "Test Project" --output "Test Project"Test Project.csprojin an IDETest Project(only tested without IIS Express, but it probably doesn't matter)LoginLog Output (Click to Open)
When the Angular client tries to log in with OpenID Connect, it requests the scopes of
Test ProjectAPI openid profile. This should probably beTest_ProjectAPI openid profile. I'm not sure if the scopes are being set correctly in the backend by the Identity Server. This breaks the login/registration flow as well as theFetch Datatab. I haven't tested this with the React or Vue templates, but it is possible that this issue might not only occur in the Angular template.Specifications
OS: Windows 11 21H2
IDE: JetBrains Rider 2022.1.1
.NET: v6.0.202
Note:
I'm not sure whether this is an issue with the Angular SPA template, the Identity Server, or ASP.NET Core. If this issue would be better suited to another repository, please let me know.