Activities of "maliming"

hi

Enable host Google login

Then override Google setting in a tenant

It doesn’t support change client id at runtime,that’s why we add the https://abp.io/docs/latest/modules/account-pro#install-a-new-external-login feature.

hi

Add a new External Login and change the Authority, ClientId, ClientSecret etc., in the host and tenants.

The social/External login system is compatible with the multi-tenancy. Each tenant can configure their own provider settings if your application is multi-tenant.

https://abp.io/docs/latest/modules/account-pro#install-a-new-external-login

hi

I dont get it. Can you explain it more?

hi

Replace MyTenant with your tenant name.

__tenant=MyTenant

public async Task<IActionResult> OnGetAsync()
{
    if (!CurrentUser.IsAuthenticated)
    {
        var provider = "OpenIdConnect";
        var redirectUrl = "/Account/Login?handler=ExternalLoginCallback&__tenant=MyTenant";
        var properties = SignInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl);
        properties.Items["scheme"] = provider;
        return Challenge(properties, provider);
    }

    return Page();
}

ok

If you want to change the default user roles.

You can change the code of RegisterExternalUserAsync method of modules/Volo.Abp.Account.Pro/src/Volo.Abp.Account.Pro.Public.Web/Pages/Account/Register.cshtml.cs

hi

See the video: https://streamable.com/6uxolk

I can sign in by microsoft account and get username and email then register a new user.

If the role is set as default. The new user will have all of default roles.

Please share your test user with liming.ma@volosoft.com

no. I'm trying to log in by Microsoft account, Please create a new test user.

I will test your account with your app tomorrow

Thanks.

Showing 3921 to 3930 of 12921 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.