Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Aug 25, 2021
2 parents 4a93073 + ed2338d commit feb77c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/nextapp/components/view-secret/view-secret.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const ViewSecret: React.FC<ViewSecretProps> = ({ credentials }) => {
{ name: 'clientSecret', label: 'Client Secret' },
{ name: 'clientPrivateKey', label: 'Signing Private Key' },
{ name: 'clientPublicKey', label: 'Signing Public Certificate' },
{ name: 'issuer', label: 'Issuer' },
{ name: 'tokenEndpoint', label: 'Token Endpoint' },
]
.filter(
Expand Down
1 change: 1 addition & 0 deletions src/services/workflow/generate-credential.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export const generateCredential = async (
clientSecret: controls.clientGenCertificate
? null
: newClient.client.clientSecret,
issuer: controls.jwksUrl ? newClient.openid.issuer : null,
tokenEndpoint: newClient.openid.token_endpoint,
clientPublicKey: clientSigning.publicKey,
clientPrivateKey: clientSigning.privateKey,
Expand Down
1 change: 1 addition & 0 deletions src/services/workflow/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export interface NewCredential {
flow: string;
clientId?: string;
clientSecret?: string;
issuer?: string;
tokenEndpoint?: string;
apiKey?: string;
clientPublicKey?: string;
Expand Down

0 comments on commit feb77c4

Please sign in to comment.