Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Commit 2a03047

Browse files
committed
Removes changing auth state in acquireTokenErrorCallBack
1 parent 558aef7 commit 2a03047

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/app/authentication/authentication.component.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,6 @@ export class AuthenticationComponent extends GraphExplorerComponent {
166166
private acquireTokenErrorCallBack(error: any): void {
167167
if (error) {
168168
collectLogs(error);
169-
170-
/**
171-
* We only want to change the authentication status to anonymous for errors other than those
172-
* that require interation from the user.
173-
*/
174-
if (!requiresInteraction(error.errorCode) && error.errorCode !== 'acquiretoken_progress_error') {
175-
AppComponent.explorerValues.authentication.status = 'anonymous';
176-
}
177169
}
178170
}
179171
}

0 commit comments

Comments
 (0)