diff --git a/src/nextapp/components/view-secret/view-secret.tsx b/src/nextapp/components/view-secret/view-secret.tsx index cc3e8bc6d..9f50301b9 100644 --- a/src/nextapp/components/view-secret/view-secret.tsx +++ b/src/nextapp/components/view-secret/view-secret.tsx @@ -39,6 +39,7 @@ const ViewSecret: React.FC = ({ 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( diff --git a/src/services/workflow/generate-credential.ts b/src/services/workflow/generate-credential.ts index e9d21cdb6..27c37818d 100644 --- a/src/services/workflow/generate-credential.ts +++ b/src/services/workflow/generate-credential.ts @@ -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, diff --git a/src/services/workflow/types.ts b/src/services/workflow/types.ts index eca555809..50430ed42 100644 --- a/src/services/workflow/types.ts +++ b/src/services/workflow/types.ts @@ -6,6 +6,7 @@ export interface NewCredential { flow: string; clientId?: string; clientSecret?: string; + issuer?: string; tokenEndpoint?: string; apiKey?: string; clientPublicKey?: string;