Open Closed

Identity Server Seperation #1686


User avatar
0
Spospisil created
  • ABP Framework version: v4.4.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I have an ABP project that has the Identity Server project seperated but what I would like to do is to have the tables that it creates residing in a seperate database from all the other ABP tables that get created during the initial migration. I want no other ABP tables in this same database and I would also like to change the default prefix of the table that get created for Identity Server. How can this be done?


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director
    1. you need to seperate the database migrations. you can create a new *.migration project. in the seperate migration project you must call only the ConfigureIdentityServer() method.
    2. You need to write the ConnectionString of the IdentityServer for each project (in appsettings.json)

    check out the following document for this scenario: https://docs.abp.io/en/abp/latest/Entity-Framework-Core-Migrations#using-multiple-databases

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11