Good luck.
hi
Let me check it remotely.
https://zoom.us/j/92212294885?pwd=VFFCK2xUWmMzQkxMZm5WdXpkNlg2UT09
hi rick
Can you share some code or more details?
Can I use subdomains
https://docs.abp.io/en/abp/4.4/Multi-Tenancy#domain-subdomain-tenant-resolver https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver
hi
What's the output or logs?
[DependsOn(typeof(AbpIdentityAspNetCoreModule))]
public class YourWebModule : AbpModule
Can you try to depend of AbpIdentityAspNetCoreModule
?
We have created new controller called passwordless2
Please share code of passwordless2
hi
https://github.com/abpframework/abp-samples/pull/103
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.Identity;
using Volo.Abp.Identity.AspNetCore;
namespace PasswordlessAuthentication.Web.Controllers
{
public class PasswordlessController : AbpController
{
protected IdentityUserManager UserManager { get; }
protected AbpSignInManager SignInManager { get; }
public PasswordlessController(IdentityUserManager userManager, AbpSignInManager signInManager)
{
UserManager = userManager;
SignInManager = signInManager;
}
public virtual async Task<IActionResult> Login(string token, string userId)
{
var user = await UserManager.FindByIdAsync(userId);
var isValid = await UserManager.VerifyUserTokenAsync(user, "PasswordlessLoginProvider", "passwordless-auth", token);
if (!isValid)
{
throw new UnauthorizedAccessException("The token " + token + " is not valid for the user " + userId);
}
await UserManager.UpdateSecurityStampAsync(user);
await SignInManager.SignInAsync(user, isPersistent: false);
return Redirect("/");
}
}
}