diff options
Diffstat (limited to 'src/app/edit-identity/edit-identity.component.ts')
-rw-r--r-- | src/app/edit-identity/edit-identity.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/edit-identity/edit-identity.component.ts b/src/app/edit-identity/edit-identity.component.ts index a6e8513..9695dd1 100644 --- a/src/app/edit-identity/edit-identity.component.ts +++ b/src/app/edit-identity/edit-identity.component.ts | |||
@@ -640,9 +640,9 @@ export class EditIdentityComponent implements OnInit { | |||
640 | let crMetadata = { | 640 | let crMetadata = { |
641 | nonce: nonceParams.nonce, | 641 | nonce: nonceParams.nonce, |
642 | public_params: nonceParams.public_params, | 642 | public_params: nonceParams.public_params, |
643 | issuer: encodeURIComponent(this.oauthService.issuer), | 643 | issuer: this.oauthService.issuer, |
644 | id_token: this.oauthService.getIdToken(), | 644 | id_token: this.oauthService.getIdToken(), |
645 | identity: this.identity.pubkey | 645 | identity: this.oauthService.getIdentityClaims()['sub'] |
646 | } | 646 | } |
647 | this.pabcService.getCredentialRequest(crMetadata).subscribe(cr => { | 647 | this.pabcService.getCredentialRequest(crMetadata).subscribe(cr => { |
648 | console.log("Got CR: " + JSON.stringify (cr)); | 648 | console.log("Got CR: " + JSON.stringify (cr)); |