aboutsummaryrefslogtreecommitdiff
path: root/src/app/identity-list/identity-list.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/identity-list/identity-list.component.ts')
-rw-r--r--src/app/identity-list/identity-list.component.ts14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/app/identity-list/identity-list.component.ts b/src/app/identity-list/identity-list.component.ts
index 9ac3ff0..8c44d79 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -40,7 +40,6 @@ export class IdentityListComponent implements OnInit {
40 showSharingInfo: any = ''; 40 showSharingInfo: any = '';
41 sortAttributeByStandardClaim: any; 41 sortAttributeByStandardClaim: any;
42 openIdentity: any = ''; 42 openIdentity: any = '';
43 authorizationRequest: any;
44 43
45 constructor(private route: ActivatedRoute, private oidcService: OpenIdService, 44 constructor(private route: ActivatedRoute, private oidcService: OpenIdService,
46 private identityService: IdentityService, 45 private identityService: IdentityService,
@@ -61,7 +60,6 @@ export class IdentityListComponent implements OnInit {
61 this.missingClaims = {}; 60 this.missingClaims = {};
62 this.connected = false; 61 this.connected = false;
63 this.modalOpened = false; 62 this.modalOpened = false;
64 this.authorizationRequest = false;
65 if (undefined !== this.route.snapshot.queryParams["code"]) { 63 if (undefined !== this.route.snapshot.queryParams["code"]) {
66 localStorage.setItem('credentialCode', this.route.snapshot.queryParams["code"]); 64 localStorage.setItem('credentialCode', this.route.snapshot.queryParams["code"]);
67 localStorage.setItem('credentialState', this.route.snapshot.queryParams["state"]); 65 localStorage.setItem('credentialState', this.route.snapshot.queryParams["state"]);
@@ -76,10 +74,8 @@ export class IdentityListComponent implements OnInit {
76 if (!this.oidcService.inOpenIdFlow() && undefined == this.route.snapshot.queryParams["authz_request"]) { 74 if (!this.oidcService.inOpenIdFlow() && undefined == this.route.snapshot.queryParams["authz_request"]) {
77 this.oidcService.parseRouteParams(this.route.snapshot.queryParams); 75 this.oidcService.parseRouteParams(this.route.snapshot.queryParams);
78 if (this.oidcService.inOpenIdFlow()) { 76 if (this.oidcService.inOpenIdFlow()) {
79 /**this.router.navigate(['/authorization-request']); 77 this.router.navigate(['/authorization-request']);
80 return;*/ 78 return;
81 this.retryVerify();
82 this.authorizationRequest = true;
83 } 79 }
84 } 80 }
85 this.updateIdentities(); 81 this.updateIdentities();
@@ -95,7 +91,6 @@ export class IdentityListComponent implements OnInit {
95 } 91 }
96 92
97 cancelRequest() { 93 cancelRequest() {
98 this.authorizationRequest = false;
99 this.oidcService.cancelAuthorization(); 94 this.oidcService.cancelAuthorization();
100 } 95 }
101 96
@@ -504,9 +499,4 @@ export class IdentityListComponent implements OnInit {
504 getMessage(key, sub?){ 499 getMessage(key, sub?){
505 return this.languageService.getMessage(key, sub); 500 return this.languageService.getMessage(key, sub);
506 } 501 }
507
508 //Authorization Request
509 retryVerify() {
510 this.oidcService.getClientName();
511 }
512} 502}