C
C#3mo ago
Jjampong

Error: Add all the req. services by calling 'AddAuthorization'. But AddAuthorizationCore was called

Currently building Blazor webapp on .NET 8. And making an attempt at adding Keycloak SSO. However, when trying to start the server-side project I get the following error: Unhandled exception. System.InvalidOperationException: Unable to find the required services. Please add all the required services by calling 'IServiceCollection.AddAuthorization' in the application startup code. However I did call AddAuthorizationCore(). Any idea why this isn't working?
0 Replies
No replies yetBe the first to reply to this messageJoin