You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dotnet ef database update -c IdentityServerPersistedGrantDbContext
178
186
```
179
187
188
+
#### Migrations for AuditLogging DbContext:
189
+
190
+
```powershell
191
+
dotnet ef migrations add AdminAuditLogDbInit -c AdminAuditLogDbContext -o Data/Migrations/AuditLogging
192
+
dotnet ef database update -c AdminAuditLogDbContext
193
+
```
194
+
180
195
Migrations are not a part of the repository - they are ignored in `.gitignore`.
181
196
182
197
### We suggest to use seed data:
183
198
184
199
- In `Program.cs` -> `Main`, uncomment `DbMigrationHelpers.EnsureSeedData(host)` or use dotnet CLI `dotnet run /seed`
185
-
- The `Clients` and `Resources` files in `Configuration/IdentityServer` are the initial data, based on a sample from IdentityServer4
186
-
- The `Users` file in `Configuration/Identity` contains the default admin username and password for the first login
200
+
- The `Clients` and `Resources` files in `appsettings.json` (section called: IdentityServerData) - are the initial data, based on a sample from IdentityServer4
201
+
- The `Users` file in `appsettings.json` (section called: IdentityData) contains the default admin username and password for the first login
187
202
188
203
### Using other database engines - PostgreSQL, SQLite, MySQL etc.
189
204
190
205
-[Follow these steps for setup other database engines](docs/EFMigration.md)
191
206
192
207
## Authentication and Authorization
193
208
194
-
- Change the specific URLs and names for the IdentityServer and Authentication settings in `Constants/AuthenticationConsts` or `appsettings.json`
195
-
-`Constants/AuthorizationConsts.cs` contains configuration of constants connected with authorization - definition of the default name of admin policy
196
-
- In the controllers is used the policy which name is stored in - `AuthorizationConsts.AdministrationPolicy`. In the policy - `AuthorizationConsts.AdministrationPolicy` is defined required role stored in - `AuthorizationConsts.AdministrationRole`.
209
+
- Change the specific URLs and names for the IdentityServer and Authentication settings in `appsettings.json`
210
+
- In the controllers is used the policy which name is stored in - `AuthorizationConsts.AdministrationPolicy`. In the policy - `AuthorizationConsts.AdministrationPolicy` is defined required role stored in - `appsettings.json` - `AdministrationRole`.
197
211
- With the default configuration, it is necessary to configure and run instance of IdentityServer4. It is possible to use initial migration for creating the client as it mentioned above
198
212
199
213
### Login Configuration
@@ -297,6 +311,9 @@ In STS project - in `appsettings.json`:
297
311
- Russian
298
312
- Persian
299
313
- Swedish
314
+
- Danish
315
+
- Spanish
316
+
- French
300
317
301
318
#### Feel free to send a PR with your translation. :blush:
302
319
@@ -436,6 +453,9 @@ It is possible to define the configuration according the client type - by defaul
436
453
-[x] Russian
437
454
-[x] Persian
438
455
-[x] Swedish
456
+
-[x] Danish
457
+
-[x] Spanish
458
+
-[x] French
439
459
-[x] Manage profile
440
460
-[x] Password reset
441
461
-[x] Link account to an external provider (example with Github)
@@ -447,13 +467,11 @@ It is possible to define the configuration according the client type - by defaul
447
467
-[x] IdentityServer4
448
468
-[x] Asp.Net Core Identity
449
469
-[x] Add swagger support
470
+
-[x] Add audit logs to track changes ([#61](https://github.com/skoruba/IdentityServer4.Admin/issues/61))
471
+
-[x] Docker support ([#121](https://github.com/skoruba/IdentityServer4.Admin/issues/121))
450
472
451
-
### 1.1.0
452
-
-[ ] Add audit logs to track changes ([#61](https://github.com/skoruba/IdentityServer4.Admin/issues/61))
453
-
454
473
### 2.0.0:
455
474
456
-
-[ ] Docker support ([#121](https://github.com/skoruba/IdentityServer4.Admin/issues/121))
457
475
-[ ] Create a project template using dotnet CLI - `dotnet new template`
458
476
-[ ] Second template: The administration of the IdentityServer4 (without Asp.Net Core Identity) ([#79](https://github.com/skoruba/IdentityServer4.Admin/issues/79))
459
477
@@ -496,7 +514,9 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
0 commit comments