hi
You should add it to ConfigureServices method of APIHost project
Your code seems no problem.
Can you share a simple project? liming.ma@volosoft.com
hi
Create a module project on abp suite
Can you share this project via https://wetransfer.com/
liming.ma@volosoft.com
Thanks
hi
. But after following all the steps based on your document, it is still using the database only.
Please share your configuration code.
hi
Can you try to rename it to CustomLoginModel?
[ExposeServices(typeof(OpenIddictSupportedLoginModel),typeof(LoginModel))]
public class CustomLoginModel : OpenIddictSupportedLoginModel
hi
I disabled both Abp.Account.EnableLocalLogin and Abp.Account.IsSelfRegistrationEnabled but then was surprised to still see a registration screen. What am I missing?
The page will have a warning message. This is the default behavior.
Can you explain what you expect from this case?
This used to be done easily by a function CreateExternalUserAsync(ExternalLoginInfo info) on LoginModel but that seemed to go away. What is the replacement to that function?
I think the new method is protected virtual async Task<IdentityUser> RegisterExternalUserAsync(ExternalLoginInfo externalLoginInfo, string userName, string emailAddress)
I had made the decision to use email address for username for all users
You can customize the login/register page to hide the username input and use email everywhere.
Replace Input.UserName with Input.EmailAddress