Skip to content

Commit 5a409da

Browse files
committed
Added comment for handling tokenClaimsError in GIDSignInTest
1 parent 39f4953 commit 5a409da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GoogleSignIn/Tests/Unit/GIDSignInTest.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1633,6 +1633,8 @@ - (void)OAuthLoginWithAddScopesFlow:(BOOL)addScopesFlow
16331633
}
16341634
}
16351635

1636+
// When token claims are invalid, sign-in fails skipping the entire authorization flow.
1637+
// Thus, no need to verify `_authorization` or `_authState` as they won't be generated.
16361638
if (tokenClaimsError) {
16371639
return;
16381640
}

0 commit comments

Comments
 (0)