Skip to content

Commit

Permalink
await updateAuthState in start
Browse files Browse the repository at this point in the history
  • Loading branch information
denysoblohin-okta committed Jun 2, 2022
1 parent fb4fb42 commit 498382d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OktaAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class OktaAuth implements OktaAuthInterface, SigninAPI, SignoutAPI {
// TODO: review tokenManager.start
this.tokenManager.start();
if (!this.token.isLoginRedirect()) {
this.authStateManager.updateAuthState();
await this.authStateManager.updateAuthState();
}
}

Expand Down

0 comments on commit 498382d

Please sign in to comment.