expo-auth-session Google.useAuthRequest() returns google's idtoken value as undefined

Please provide the following:

  1. SDK Version: 40
  2. Platforms(Android/iOS/web/all): Android
  3. 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",
  },
3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.