hi
I'm able to access your website.
https://app-ctms-qa.fundanxxxxxxx.com/dashboard
Can you share the steps to show the performance problem?
Thanks.
hi
Please share your website url and a test username&password
I will check it online.
liming.ma@volosoft.com
Thanks
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.