Please provide the following:
- SDK Version: 40
- Platforms(Android/iOS/web/all): Android
- Add the appropriate “Tag” based on what Expo library you have a question on.
expo-auth-session Google.useAuthRequest() returns google’s idtoken value as undefined.
request:
const [request, response, promptAsync] = Google.useAuthRequest({
expoClientId: 'GOOGLE_GUID.apps.googleusercontent.com',
androidClientId: 'GOOGLE_GUID.apps.googleusercontent.com',
})
response:
"authentication": TokenResponse {
"accessToken": "received correct access token",
"expiresIn": "3599",
**"idToken": undefined,**
"issuedAt": 1614595369,
"refreshToken": undefined,
"scope": "email profile https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email openid",
"tokenType": "Bearer",
},