useAuthRequest allways returns refreshToken undefined

Please provide the following:

  1. SDK Version: 44
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Im trying to replace the deprecated module expo-google-app-auth to expo-auth-session, the auth works ok i get the bearer token but the useAuthRequest response allways returns refreshToken undefined is there anyway to get refresh token?
the old module still returns the refreshtoken, i have tried use access_type: ‘offline’, in the extra extraParams prop without success

const [request, response, promptAsync] = useAuthRequest({
    scopes: [''],
    // extraParams: {
    //   access_type: 'offline',
    // },

const googleAuthResponse = await promptAsync();



 "authentication": TokenResponse {
    "accessToken": "token",
    "expiresIn": "3599",
    "idToken": undefined,
    "issuedAt": 1641580518,
    "refreshToken": undefined,
    "scope": "email profile openid",
    "state": "aaaa",
    "tokenType": "Bearer",

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