Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 620180d

Browse files
committed
secrettype bug after save
1 parent 640ffe2 commit 620180d

File tree

8 files changed

+1029
-46
lines changed

8 files changed

+1029
-46
lines changed

src/Backend/Jp.Domain/CommandHandlers/ClientCommandHandler.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
using System.Linq;
1313
using System.Threading;
1414
using System.Threading.Tasks;
15+
using IdentityServer4;
1516

1617
namespace Jp.Domain.CommandHandlers
1718
{

src/Backend/Jp.Infra.CrossCutting.Identity/Constants/AuthorizationConsts.cs

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/Backend/Jp.Infra.CrossCutting.Identity/Constants/ConfigurationConsts.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/Backend/Jp.Infra.CrossCutting.Identity/Constants/TableConsts.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ public static class TableConsts
99
public const string IdentityUserLogins = "UserLogins";
1010
public const string IdentityUserClaims = "UserClaims";
1111
public const string IdentityUserTokens = "UserTokens";
12-
public const string Logging = "Log";
1312
}
1413
}

src/Backend/Jp.UserManagement/jpProject_sso_log.txt

Lines changed: 261 additions & 0 deletions
Large diffs are not rendered by default.

src/Frontend/Jp.AdminUI/src/app/panel/clients/secrets/secrets.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ <h3>{{ client }}</h3>
2828
<tr>
2929
<th></th>
3030
<th>{{ 'secrets.secretValue' | translate }}</th>
31+
<th>{{ 'secrets.secretType' | translate }}</th>
3132
<th>{{ 'secrets.expiration' | translate }}</th>
3233
<th>{{ 'secrets.description' | translate }}</th>
3334
</tr>
@@ -36,6 +37,7 @@ <h3>{{ client }}</h3>
3637
<tr *ngFor="let secret of clientSecrets">
3738
<td><button class="btn btn-danger btn-xs" (click)="remove(secret.id)"><i class="fa fa-times"></i></button></td>
3839
<td>{{secret.value}}</td>
40+
<th>{{ secret.type }}</th>
3941
<td>{{secret.expiration}}</td>
4042
<td>{{secret.description}}</td>
4143
</tr>

src/Frontend/Jp.AdminUI/src/app/panel/clients/secrets/secrets.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class ClientSecretsComponent implements OnInit {
3030
public showButtonLoading: boolean;
3131
public client: string;
3232
public hashTypes: { id: number; text: string; }[];
33-
public secretTypes: { id: number; text: string; }[];
33+
public secretTypes: { id: string; text: string; }[];
3434
public bsConfig = {
3535
containerClass: 'theme-angle'
3636
};
@@ -48,7 +48,7 @@ export class ClientSecretsComponent implements OnInit {
4848
this.model = new ClientSecret();
4949
this.showButtonLoading = false;
5050
this.hashTypes = [{ id: 0, text: "Sha256" }, { id: 1, text: "Sha512" }];
51-
this.secretTypes = [{ id: 0, text: "SharedSecret" }, { id: 1, text: "X509Thumbprint" }, { id: 2, text: "X509Name" }, { id: 3, text: "X509CertificateBase64" }];
51+
this.secretTypes = [{ id: 'SharedSecret', text: "Shared Secret" }, { id: "X509Thumbprint", text: "X509 Thumbprint" }, { id: "X509Name", text: "X509 Name" }, { id: "X509CertificateBase64", text: "X509 Certificate Base64" }];
5252
}
5353

5454
public showSuccessMessage() {

src/Frontend/Jp.UI.SSO/jpProject_sso_log.txt

Lines changed: 763 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)