AuthSession Google refresh token undefined

I’ve successfully retrieved an accessToken using the method illustrated here: https://docs.expo.io/guides/authentication/#google, however, the refreshToken value in the TokenResponse is undefined.

I’ve attempted including offline_access in my scopes, but this result in a Error 400: invalid_scope.

I don’t see anyone facing this problem and believe I may be missing something simple.

1 Like

I’m facing this same problem. Seems like there should be an easy way to do this or at least a clear statement that this isn’t possible.

2 Likes

I’m also facing this issue. The docs are not clear in this respect (to me at least).
The docs state " * If the provider didn’t return a refresh_token then the access token may not be refreshed."

Maybe this something we have to set up in the google cloud console?

1 Like

I’m having the same issue. Did anyone ever find a solution?

Have not. I may just implement a real user authentication