Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

identityserver4 - ABP.IO Sample Angular/Blazor Application- Tenant with separate DB login issue

I created apps with ABP.IO framework with Angular/Blazor UI templates. I am able to compile and run the app successfully in Visual Studio 2019. Everything looks to be working fine except Multi-tenancy with separate database per tenant.

When I create a new tenant with shared database, I works perfectly. However, if I create a tenant and provide a connection string for a separate database, there seems to be issues.

  • The database for new tenant is created after running the migration project.
  • Before login, I am able to switch the tenant.
  • After entering username and password, Angular app shows the spinner icon loading forever.
  • The Blazor app shows an error message: There was an error trying to log you in: '', there is a similar question here which is not answered.

Looking at logs indicates that there are some issues with Identity Server, however, I am unable to resolve the issue. Tried clearing browser cache but that didn't help.

Thanks in advance, any help greatly appreciated.

question from:https://stackoverflow.com/questions/65932323/abp-io-sample-angular-blazor-application-tenant-with-separate-db-login-issue

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...