The response of api is Status Code: 403 Forbidden
Can not find the given email address:Ish @s.com
It will throw an UserFriendlyException
exception when the GetUserByEmail method cannot find user, and its status code will be 403, which is by design.
protected virtual async Task<IdentityUser> GetUserByEmail(string email)
{
var user = await UserManager.FindByEmailAsync(email);
if (user == null)
{
throw new UserFriendlyException(L["Volo.Account:InvalidEmailAddress", email]);
}
return user;
}
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/ExceptionHandling/DefaultHttpExceptionStatusCodeFinder.cs#L72
hi
Can you check the browser's console and app logs? Are you using HTTPS?
hi
it started working. but I don't see tenant swith(I hope is expected behavior)
This is expected. The application always tries to resolve the tenant from the domain name.
- If I create/add user in teant say t1. user is created in both tenant t1(t1.abptest.com) and also main site(abptest.com). because of this mylinkuser functionality is breaking and it redirecting to abptest.com always.
- Register is not working
- My User Links is also not working
Can you share some screenshots or log info?
Can you check if the current tenant is a domain name? Maybe it is not working properly.
We have related sample. https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver#angular https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver/NG
Is there no way of doing this?
This is not a standard practice, and the design of the framework did not consider it.
hi
I will check asap. sorry for that.
hi Leonardo
This problem may have to wait for v4.4 to resolve. Sorry for that.
do u think any file need to be Included?
The letpon theme will include all necessary js files. I just test the code in index.cshtml
hi
but azure ecpects a index.html page at wwwroot/wwwroot folder not at the wwwroot folder
I don't know much about azure, I just tested it successfully in the local IIS.
hi
I will share some code to you.
the container exits with code 1.
Can you check the container's log? It should have encountered an error.