However there might be a case where I need to change theese parameters and switch to another keycloak, could this be reregistered and the service re-initiated without restarting the app?
I tried a few ways by using dynamic configuration:
-The program.cs code:
TRIAL 1, throws an error 'No service for type 'Keycloak.AuthServices.Authentication.KeycloakBaseAuthenticationBuilder' has been registered.'
TRIAL 2, throws an error 'No service for type 'Keycloak.AuthServices.Authentication.KeycloakAuthenticationOptions' has been registered.'
TRIAL 3, does not seems to update service and old keycloak is validating the requests
Maybe I am doing something wrong, any suggestion?
The following code is registered in the server side of my blazor hosted webassembly at works fine:
However there might be a case where I need to change theese parameters and switch to another keycloak, could this be reregistered and the service re-initiated without restarting the app?
I tried a few ways by using dynamic configuration: -The program.cs code:
-Some classes code:
TRIAL 1, throws an error 'No service for type 'Keycloak.AuthServices.Authentication.KeycloakBaseAuthenticationBuilder' has been registered.' TRIAL 2, throws an error 'No service for type 'Keycloak.AuthServices.Authentication.KeycloakAuthenticationOptions' has been registered.' TRIAL 3, does not seems to update service and old keycloak is validating the requests Maybe I am doing something wrong, any suggestion?