Jjampong
Jjampong
CC#
Created by Jjampong on 3/11/2024 in #help
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?
1 replies