hi
Why is the TakasBankWebAPIHttpApiHostModule also an authserver project?
When you use the token obtained from Main Project (Auth) to call the api from Child Project (API Host). The token was checked by Child Project (API Host), which is why it failed.
Thanks.
hi
删除的一直都是admin,其他用户无法删除,只能等待5分钟超时
请分享一个用例? 什么样的操作?
详细的步骤是?
谢谢
hi
Can you share the module code of Child Project (API Host)?
And the debug logs of your Main Project (Auth).
Thanks.
hi
The next 10.0 patch Suite will fix that.
Thanks.
hi
There is no user concept in the Client Credentials flow.
If you want to use a user, you can use the password flow.
Thanks.
hi
How can I reproduce it in a new template project with chat modules? Can you share some steps? Do you have any custom code?
Thanks.
hi
You can add these class/cshtml files to your AuthServer project.
See https://abp.io/docs/latest/framework/ui/mvc-razor-pages/customization-user-interface#overriding-a-razor-page-cshtml https://abp.io/docs/latest/framework/ui/mvc-razor-pages/customization-user-interface#example-1
hi
Yes, the authserver project
````csharp
[ExposeServices(typeof (OpenIddictSupportedLoginModel), typeof(LoginModel))]
public class MyLoginModel : OpenIddictSupportedLoginModel
{
public override Task<IActionResult> OnPostAsync(string action)
{
var your_tenant_name = "my_tenant";// get it from post request.
using(Current.Change(your_tenant_name))
{
return base.OnPostAsync(action);
}
}
}