hi
account\src\Volo.Abp.Account.Pro.Public.HttpApi\Volo\Abp\Account\AccountController.cs
[HttpGet]
[Route("two-factor-providers")]
public virtual Task<List<string>> GetTwoFactorProvidersAsync(GetTwoFactorProvidersInput input)
{
return AccountAppService.GetTwoFactorProvidersAsync(input);
}
[HttpPost]
[Route("send-two-factor-code")]
public virtual Task SendTwoFactorCodeAsync(SendTwoFactorCodeInput input)
{
return AccountAppService.SendTwoFactorCodeAsync(input);
}
See https://support.abp.io/QA/Questions/632/How-can-I-download-the-source-code-of-the-framework-Angular-packages-theme-and-pro-modules
You can refer to identity and account module source code.
hi
We don't have such a module now.
Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.UserLookup
Can you check the user's permissions?
hi
I added theReturnUrl
and ReturnUrlHash
to the ConfirmUser
page today and tested in v5.1.
You can create a new template project to confirm that.
hi
https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/appsettings.json#L7
HttpApi.Client.ConsoleTestApp is not an automated test application. It is an example Console Application that shows how to consume your HTTP APIs from a .NET Console Application.
hi
ABP's identity module uses cookies as the authentication scheme by default.
You can use the Identity Server module. You can use the Authorization Code flow in the chrome plugin to get the access token.
https://www.google.com/search?q=asp+net+core+jwt+authentication&oq=ASP+NET+CORE+JWR&aqs=chrome.2.69i57j0i13l9.7064j0j9&sourceid=chrome&ie=UTF-8 https://www.codemag.com/Article/2105051/Implementing-JWT-Authentication-in-ASP.NET-Core-5