HI Ma both dynamic and static proxy don't work I send the project to your email.
HI
got many errores like this when blazor project started
then get error like this atfer call a remote service
System.InvalidOperationException: Cannot provide a value for property 'MinionsAppService' on type 'CP.TechGenieService.Blazor.Pages.TechGenieService.Minions'. There is no registered service of type 'CP.TechGenieService.Minions.IMinionsAppService'.
have been gerated ClientProxies in the **.HttpApi.Client
and added the Depends in blazor module
Ok maliming I will do some research Tks
it happened after that i migrate id 4to openiddict. I Would like to know where the.'current time' come from which I think it's didn't come from the system time
it hapens in my dev environment and product environment too. I found this problem in my dev environment run by TYE in the first and same in product environment in iis
if the logs time is corrcet i don't know why the administrator service is wrong
all of the app,microservive on the same server.
2022-12-23 16:38:11.279 +08:00 [INF] Failed to validate the token.
the log time is correct but....
2022-12-23 16:38:11.279 +08:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: '12/23/2022 04:40:03', Current time: '12/23/2022 08:38:11'.
at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()