diff --git a/Sources/Google/GoogleAuthenticator.swift b/Sources/Google/GoogleAuthenticator.swift index 01b6811..7a14db1 100644 --- a/Sources/Google/GoogleAuthenticator.swift +++ b/Sources/Google/GoogleAuthenticator.swift @@ -95,11 +95,14 @@ public extension GoogleAuthenticator { // MARK: - Private Extension private extension GIDGoogleUser { var authResponse: GoogleAuthenticator.Response { - .init(userId: userID, - token: accessToken.tokenString, - refreshToken: refreshToken.tokenString, - name: profile?.name, - email: profile?.email, - expiresAt: accessToken.expirationDate) + .init( + userId: userID, + idToken: idToken?.tokenString, + accessToken: accessToken.tokenString, + refreshToken: refreshToken.tokenString, + name: profile?.name, + email: profile?.email, + expiresAt: accessToken.expirationDate + ) } }