Open Closed

How to add custom authentication token providers? as IUserTwoFactorTokenProvider<AppUser> #76


User avatar
0
rajasekhard2015 created

Hi,

I want to add custom authentication token provider for passwordless authentication.

How can i add custom provider, please suggest me the proper steps

            context.Services.AddAbpIdentity(options =>
            {
                options.Tokens.ProviderMap[GoogleAuthenticationProvider.Name] = new TokenProviderDescriptor(typeof(GoogleAuthenticationProvider));
            })
           .AddDefaultTokenProviders();

2 Answer(s)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 11, 2025, 10:10