Skip to content

Commit 2214639

Browse files
committed
fix logout
1 parent 38c8028 commit 2214639

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

projects/sample-code-flow-multi-AAD/src/app/home/home.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ import { Observable } from 'rxjs';
1414
})
1515
export class HomeComponent implements OnInit {
1616
configurations: OpenIdConfiguration[];
17+
1718
userDataChanged$: Observable<OidcClientNotification<any>>;
19+
1820
userData$: Observable<UserDataResult>;
21+
1922
isAuthenticated$: Observable<AuthenticatedResult>;
2023

2124
constructor(public oidcSecurityService: OidcSecurityService) {}
@@ -35,7 +38,7 @@ export class HomeComponent implements OnInit {
3538
}
3639

3740
logout(configId: string) {
38-
this.oidcSecurityService.logoff(configId);
41+
this.oidcSecurityService.logoff(configId).subscribe((result) => console.log(result));
3942
}
4043

4144
refreshSession(configId: string) {

0 commit comments

Comments
 (0)