hi
What is the response when you call this API from Angular when email already exists?
hi
Please adjust the order of your middleware based on https://github.com/abpframework/abp/blob/dev/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/MyProjectNameAuthServerModule.cs#L211-L233
hi
You can use IPermissionIntegrationService to check userId's permissions.
public class IsGrantedRequest
{
public Guid UserId { get; set; }
public string[] PermissionNames { get; set; }
}
hi
Can you try this?
If it still doesn't work, please share a project that I can run.
public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
var app = context.GetApplicationBuilder();
var env = context.GetEnvironment();
app.UseForwardedHeaders();
// Configure the HTTP request pipeline.
if (env.IsDevelopment())
{
app.UseExceptionHandler("/Error");
// // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
// app.UseHsts();
}
app.UseHsts();
app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseRouting();
app.UseHangfireDashboard("", new DashboardOptions
{
Authorization = new[] { new HangfireCustomBasicAuthenticationFilter { User = "admin", Pass = "123321" } }
});
var hostEnvironment = context.ServiceProvider.GetRequiredService<IHostEnvironment>();
InitJobs.Setup(hostEnvironment);
app.UseConfiguredEndpoints();
}
hi
Can you share a simple startup project to reproduce this?
liming.ma@volosoft.com
hi
I checked the GeneralSettings.razor component. It doesn't need the js code.
I can share the source code of this component. Please send mail to liming.ma@volosoft.com
Another question for mobile view do we need to override mobileGeneralSettings too?
Yes.
hi
The authserver says: The specified access token is bound to an account that no longer exists.
Does your account belong to a tenant?
Can you share the code of AuthServer module?
hi
We can't provide code for such a structure. If you change the default structure, you should understand the JS code and make changes.
There should have a $('#AddCategoryButton').on('click', '', function(){ in your JS file.
Please debug and check this method.
hi
I think you can exclude this message by ByExcluding
hi
Does that solve your problem?
https://support.abp.io/QA/Questions/6505/Problems-encountered-in-abp-multi-module-development#answer-3a10223f-af27-d950-55bd-7235ba2e9c49