Skip to content

Commit b1062be

Browse files
committed
Ensure that the AuthCode gets set correctly.
1 parent 674dc9c commit b1062be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

GoogleSignInPlugin/Assets/GoogleSignIn/Impl/NativeFuture.cs

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public GoogleSignInUser Result {
6565
GoogleSignInImpl.GoogleSignIn_GetIdToken(userPtr, out_string,
6666
out_size));
6767

68+
user.AuthCode = OutParamsToString((out_string, out_size) =>
69+
GoogleSignInImpl.GoogleSignIn_GetServerAuthCode(userPtr, out_string,
70+
out_size));
71+
6872
string url = OutParamsToString((out_string, out_size) =>
6973
GoogleSignInImpl.GoogleSignIn_GetImageUrl(userPtr, out_string,
7074
out_size));

0 commit comments

Comments
 (0)