Dears,
I have some requirements which is to create new database for test and how to do the configuration to swap or redirect between the 2 databases without changing the values in OpenIddictApplications table.
regards
- ABP Framework version: v7.3.2
- UI Type: Angular
- Database System: EF Core (SQL Server )
- Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
- Exception message and full stack trace:
- Steps to reproduce the issue:
5 Answer(s)
-
0
hi
Please explain your requirements in detail.
-
0
hi
When I publish the project I should to change the value of [RedirectUris] column in OpenIddictApplications Table to the URL of what I published on also if I run it locally I must to change it the values of all to localhost
Can I do configuration to handle that?
-
0
You should use the production URL in
appsettings.json
and then migrate the URL to the production database.appsettings.json
appsettings.Development.json
appsettings.Production.json
-
0
In my situation the appsettings.Development.json is empty should I do same code of appsetting.json and the appsettings.Production.json isn't in me project how to create it ?
-
0
hi
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-7.0#appsettingsjson
You can create the
appsettings.json
by the environment.