Skip to content

Commit 7ee213e

Browse files
RinkalBhojanitipusinghaw
authored andcommitted
fix: Reverted accidental changes done in credebl-master-table.json file, fixed other values
Signed-off-by: Rinkal Bhojani <[email protected]>
1 parent 7bed4dd commit 7ee213e

File tree

3 files changed

+13
-16
lines changed

3 files changed

+13
-16
lines changed

apps/api-gateway/src/oid4vc-issuance/dtos/oid4vc-issuer.dto.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class IssuerCreationDto {
108108
name: 'Credebl University',
109109
description: 'Accredited institution issuing verified student credentials',
110110
logo: {
111-
uri: 'https://university.credebl.io/assets/logo-en.svg',
111+
uri: 'https://university.example.io/assets/logo-en.svg',
112112
alt_text: 'Credebl University logo'
113113
}
114114
},
@@ -117,7 +117,7 @@ export class IssuerCreationDto {
117117
name: 'Credebl Universität',
118118
description: 'Akkreditierte Institution für digitale Studentenausweise',
119119
logo: {
120-
uri: 'https://university.credebl.io/assets/logo-de.svg',
120+
uri: 'https://university.example.io/assets/logo-de.svg',
121121
alt_text: 'Credebl Universität Logo'
122122
}
123123
}
@@ -129,7 +129,7 @@ export class IssuerCreationDto {
129129
display: IssuerDisplayDto[];
130130

131131
@ApiProperty({
132-
example: 'https://issuer.credebl.io',
132+
example: 'https://issuer.example.io',
133133
description: 'Base URL of the Authorization Server supporting OID4VC issuance flows'
134134
})
135135
@IsUrl({ require_tld: false }, { message: 'authorizationServerUrl must be a valid URL' })
@@ -140,10 +140,10 @@ export class IssuerCreationDto {
140140
'Additional configuration details for the authorization server (token endpoint, credential endpoint, grant types, etc.)',
141141
type: AuthorizationServerConfigDto,
142142
example: {
143-
issuer: 'https://id.sovio.ae:8443/realms/sovioid',
143+
issuer: 'https://example.com/realms/abc',
144144
clientAuthentication: {
145145
clientId: 'issuer-server',
146-
clientSecret: '1qKMWulZpMBzXIdfPO5AEs0xaTaKs1ym'
146+
clientSecret: 'issuer-client-secret'
147147
}
148148
}
149149
})

apps/oid4vc-issuance/libs/helpers/credential-sessions.builder.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -279,12 +279,9 @@ function buildSdJwtCredential(
279279
// // strip vct if present per requirement
280280
// delete payloadCopy.vct;
281281

282-
let templateSignerOption: SignerOption;
283-
if (templateRecord.signerOption.toLowerCase() === SignerMethodOption.X5C) {
284-
templateSignerOption = signerOptions.find((x) => SignerMethodOption.X5C === x.method);
285-
} else if (templateRecord.signerOption.toLowerCase() === SignerMethodOption.DID) {
286-
templateSignerOption = signerOptions.find((x) => SignerMethodOption.DID === x.method);
287-
}
282+
const templateSignerOption: SignerOption = signerOptions.find(
283+
(x) => templateRecord.signerOption.toLowerCase() === x.method
284+
);
288285

289286
if (templateRecord.signerOption === SignerMethodOption.X5C && credentialRequest.validityInfo) {
290287
const certificateDetail = activeCertificateDetails.find((x) => x.certificateBase64 === templateSignerOption.x5c[0]);

libs/prisma-service/prisma/data/credebl-master-table.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"platformConfigData": {
3-
"externalIp": "192.168.1.25",
4-
"inboundEndpoint": "192.168.1.25",
3+
"externalIp": "##Machine Ip Address/Domain for agent setup##",
4+
"inboundEndpoint": "##Machine Ip Address/Domain for agent setup##",
55
"username": "credebl",
66
"sgApiKey": "###Sendgrid Key###",
7-
"emailFrom": "[email protected]",
8-
"apiEndpoint": "http://0.0.0.0:5000",
9-
"tailsFileServer": ""
7+
"emailFrom": "##Senders Mail ID##",
8+
"apiEndpoint": "## Platform API Ip Address##",
9+
"tailsFileServer": "##Machine Ip Address for agent setup##"
1010
},
1111
"platformAdminData": {
1212
"firstName": "CREDEBL",

0 commit comments

Comments
 (0)