hi
If you changed the Authority You can use a wildcard domain as Issuer
{0} can be any tenant name.
https://github.com/abpframework/abp-samples/blob/f46dabd078361ebb564708cce28fe8a8b7a60494/DomainTenantResolver/OpenIddict/MVC-TIERED/src/Acme.BookStore.Web/BookStoreWebModule.cs#L179-L184
https://github.com/maliming//Owl.TokenWildcardIssuerValidator
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