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

Commit b0c2742

Browse files
authored
[google_sign_in] Add todo WRT correctly setting X-Goog-AuthUser header (#3819)
See flutter/flutter#80905
1 parent 81a9537 commit b0c2742

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/google_sign_in/google_sign_in/lib/google_sign_in.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ class GoogleSignInAccount implements GoogleIdentity {
108108
final String? token = (await authentication).accessToken;
109109
return <String, String>{
110110
"Authorization": "Bearer $token",
111+
// TODO(kevmoo): Use the correct value once it's available from authentication
112+
// See https://github.com/flutter/flutter/issues/80905
111113
"X-Goog-AuthUser": "0",
112114
};
113115
}

0 commit comments

Comments
 (0)