Hello,
Try to delete node_modules folder and yarn.lock json file from Angular project.
Run command: yarn
and then try to run again
thanks
Somehow it cannot pull from Nuget. Can you run the following code and send the output to understand the problem:
nuget install Volo.Abp.Studio.Extensions.StandardSolutionTemplates -version 0.9.23
If you do not have nuget.exe installed, you can install it from this link.
Can you try the following code block?
if (AbpAspNetCoreComponentsWebOptions.Value.IsBlazorWebApp)
{
Navigation.NavigateTo(AuthenticationOptions.Value.LogoutUrl, forceLoad: true);
}
else
{
Navigation.NavigateToLogout(AuthenticationOptions.Value.LogoutUrl);
}
Hello again,
I intuitively had a few ideas after reviewing your code. Since I can't be completely sure, we will proceed with a little trial and error, sorry for that, but I think we will succeed as a result.
I see that you put the client application behind Nginx as below. Actually there is no need for that.
When I create a Blazor Wasm project from scratch, appsettings.json is mapped as follows:
Obviously this seemed like it could be a problem.
Also, could you try my suggestions regarding from-ingress and the custom middleware I mentioned in my previous message, not in Blazor but in the AuthServer application instead? I somehow suspect that the following code is not working.
if (!configuration.GetValue<bool>("AuthServer:RequireHttpsMetadata"))
{
Configure<OpenIddictServerAspNetCoreOptions>(options =>
{
options.DisableTransportSecurityRequirement = true;
});
Configure<ForwardedHeadersOptions>(options =>
{
options.ForwardedHeaders = ForwardedHeaders.XForwardedProto; // this line
});
}
context.Services.ForwardIdentityAuthenticationForBearer(OpenIddictValidationAspNetCoreDefaults.AuthenticationScheme);
But my issue is after I login seem the authService can not callback then access to the homepage when I using 2 URL like I mentioned.
As far as I understand from below picture, I see that you are redirected to the Angular application. Isn't that right? Where exactly are you redirected after logging in?
I have received your e-mail now and I will review it as soon as possible and get back to you.
hi,
Here is the reason: https://github.com/abpframework/abp/issues/3487#issuecomment-1820454025
Hello,
I can say that nothing has changed in this regard recently. However, based on your question, I deleted the cache of the existing packages in case there is a bottleneck. It should be cached again soon. Other than that, I don't know what extra we can do about it. For now, everything seems to be fine on our side.
Hello,
\Users\rogers\.nuget\volo.abp.studio.extensions.standardsolutiontemplates\0.9.23\lib\net8.0
Can you send me the contents of this path?