Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
angular-oauth2-oidc.js:
error loading discovery document TypeError:
Cannot read property 'length' of null
at HttpHeaders.applyUpdate (http.js:235)
at http.js:207
at Array.forEach (<anonymous>)
at HttpHeaders.init (http.js:207)
at HttpHeaders.forEach (http.js:270)
at Observable._subscribe (http.js:1589)
at Observable._trySubscribe (Observable.js:42)
at Observable.subscribe (Observable.js:28)
at FinallyOperator.call (finalize.js:11)
at Observable.subscribe (Observable.js:23)
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
Are we able to run the IdentityServer as a single sign-on server?
Thanks, Chanchai
I do.
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
Result:
Host (host db): success Tenant1 (host db): success Tenant2 (separate tenant db): fail
Could you please help?
Thanks, Chanchai
No luck. Couldn't find .GetDbContext() here.
EntityFrameworkCore.Migrations
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
We use your DBMigrator console to migrate db (Up() method) for multi tenants..
Do you know how to run the DBMigrator for rollback (Down() method) for multi tenants?
NetZero:
using (var uow = _unitOfWorkManager.Begin(TransactionScopeOption.Suppress))
{
using (var dbContext = _dbContextResolver.Resolve<Project1DemoDbContext>(connectionString, null))
{
}
}
AbpCommercial
How can we get dbcontext for tenants that have different connectionsstrings like NetZero.