Storage
The Identity Provider can utilize one of the following storage options.
For each type of storage, there is a corresponding NuGet package containing all the migration scripts. These scripts encompass the logic necessary for creating the data structure, such as tables or schemas. Migration scripts will be applied during the startup of the Identity Provider.
Storage | Nuget package |
---|---|
SQL Server | SimpleIdServer.IdServer.SqlServerMigrations |
PostGreSQL | SimpleIdServer.IdServer.PostgreMigrations |
MySQL | SimpleIdServer.IdServer.PostgreMigrations |
If your preferred storage option is not listed, please contact-us. We will make every effort to accommodate your requirements.
Alternatively, if you are comfortable with our solution, you can make modifications in the Program.cs
file of the Identity Provider solution.
SQL Server
To utilize SQL Server, edit the appsettings.json
file and modify the following values :
Json Path | Value |
---|---|
$.StorageConfiguration.ConnectionString | |
$.StorageConfiguration.Type | SQLSERVER |
POSTGRESQL
To utilize Postgresql, edit the appsettings.json
file and modify the following values :
Json Path | Value |
---|---|
$.StorageConfiguration.ConnectionString | |
$.StorageConfiguration.Type | POSTGRE |
MYSQL
To utilize Mysql, edit the appsettings.json
file and modify the following values :
Json Path | Value |
---|---|
$.StorageConfiguration.ConnectionString | |
$.StorageConfiguration.Type | MYSQL |