You can override the GetProfilePictureAsync method of AccountAppService to provide a fallback solution.
ok, We will check and fix this, and info you if it has been done.
the server cannot access gravatar.com
If so, you cannot set the profile image of a user to use gravatar.
The gravatar feature needs to access the gravatar.com
hi
It working now. Can you retry again?
hi
Please check and share your backend logs.
hi
You need to bootstrap the abp module system in your blazor wasm project.
public class Program
{
public async static Task Main(string[] args)
{
var builder = WebAssemblyHostBuilder.CreateDefault(args);
var application = await builder.AddApplicationAsync<MyProjectNameBlazorModule>(options =>
{
options.UseAutofac();
});
var host = builder.Build();
await application.InitializeApplicationAsync(host.Services);
await host.RunAsync();
}
}
https://docs.abp.io/en/abp/latest/API/Static-CSharp-API-Clients
We will check this. Thanks
Good news.
Create an MVC tiered project, and then refer to .AddCookie and .AddOpenIdConnect in Web project.
Do not set it as the default authentication scheme in HTTP.API project. add a middleware to call the cookie authentication
app.UseAuthentication();
app.Use(async (ctx, next) =>
{
if (ctx.User.Identity?.IsAuthenticated != true)
{
var result = await ctx.AuthenticateAsync("YourCookieAuthenticationScheme); //default is Cookies
if (result.Succeeded && result.Principal != null)
{
ctx.User = result.Principal;
}
}
await next();
});
app.UseHangfireDashboard("/hangfire", new DashboardOptions
{
AsyncAuthorization = new[] { new AbpHangfireAuthorizationFilter(requiredPermissionName: MainCorePermissions.HangfireDashboard.Default) }
});
You can add Cookies as a second authentication scheme to the HTTP.API project.
https://docs.microsoft.com/en-us/aspnet/core/security/authentication/cookie?view=aspnetcore-6.0