hi
Enable swagger to get the api info of the controller(application service). Identity server does not seem to have any info in swagger.
Can you provide more details?
If the IsVisibleToClients property of setting is true, you can refer to the above code to read it in angular. https://support.abp.io/QA/Questions/444#answer-b53630fd-c319-0a02-f4d8-39f7f04a4e29
Otherwise you need to create your own application service method to get and update settings.
hi
It is not good practice to use application services in ValidatableObject.Validate
method.
You can consider creating an anonymous application service and calling it in the Register
page.
hi
The use of DI in profile is not supported, please check https://github.com/abpframework/abp/issues/5288
Now we are onto the next issue. The user logs in, however is immediately redirected to the logout screen.
hi jason.smith
Can you share the website url and username, password? So we can try it directly. liming.ma@volosoft.com
When I try to use abp.setting.get() get an error as "cannot find name abp"
abp.setting.get
only applies to mvc, for angular you should refer to:
https://support.abp.io/QA/Questions/444#answer-b53630fd-c319-0a02-f4d8-39f7f04a4e29
hi @bozkan
Please refer to Settings
document. This is apply for abp vnext.
https://docs.abp.io/en/abp/latest/Settings
hi tngo
Can you explain it in detail?
hi @ishaq.alzidi
Is there hava any error message in logs?
You can try Change Tenant
:
using (CurrentTenant.Change(tenant.Id))
{
await DataSeeder.SeedAsync(
new DataSeedContext(tenant.Id)
.WithProperty("AdminEmail", "info@abp.io")
.WithProperty("AdminPassword", "1q2w3E*")
);
}
hi
We are trying to create Rest API using AWS API gatewaybut when trying to import swagger definition of our API, it gives the validation error as mentioned below -
It may be that the content of swagger does not meet the requirements of AWS API gateway. Does it provide a sample of swagger?