Skip to main content
Version: 5.0.0

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.

StorageNuget package
SQL ServerSimpleIdServer.IdServer.SqlServerMigrations
PostGreSQLSimpleIdServer.IdServer.PostgreMigrations
MySQLSimpleIdServer.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 PathValue
$.StorageConfiguration.ConnectionString
$.StorageConfiguration.TypeSQLSERVER

POSTGRESQL

To utilize Postgresql, edit the appsettings.json file and modify the following values :

Json PathValue
$.StorageConfiguration.ConnectionString
$.StorageConfiguration.TypePOSTGRE

MYSQL

To utilize Mysql, edit the appsettings.json file and modify the following values :

Json PathValue
$.StorageConfiguration.ConnectionString
$.StorageConfiguration.TypeMYSQL