0
lht0502 created
- ABP Framework version: v8.2.3
- UI Type: Angular
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
My Auth Server and API application are pointing to two different databases. When using the Prevent Concurrent Login feature, the API application shows the error: "User not found: 23e9be9c-4d8b-3386-26ae-3a173e912fde."
How can I configure the API application to check the AbpSessions table in the same database as the Auth Server while storing transaction data in a separate database? Thanks
3 Answer(s)
-
0
hi
You can configure the connection to specify DbContext.
For your case you need to change the connection string for
IIdentityProDbContext(IIdentityDbContext)
https://abp.io/docs/latest/framework/fundamentals/connection-strings
-
0
It works. Thanks
-
0
Good news.