You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to keep logging in, but I understand that the accessToken is only valid for up to an hour, and I also understand that I need a refreshToken. But I don't know how to get a refreshToken, it seems that GoogleSignInAuthentication only has accessToken and idToken. Can someone please advise me on this?
Also, the word seems to be wrong
final refreshToken = credentials.refreshToken;
if (refreshToken == null) {
throw ArgumentError('clientId.refreshToken cannot be null.');
}
-> credentials.refreshToken cannot be null.
The text was updated successfully, but these errors were encountered:
frgmt
changed the title
clientId.refreshToken cannot be null.
iOS: clientId.refreshToken cannot be null.
Jun 16, 2022
I want to keep logging in, but I understand that the accessToken is only valid for up to an hour, and I also understand that I need a refreshToken. But I don't know how to get a refreshToken, it seems that GoogleSignInAuthentication only has accessToken and idToken. Can someone please advise me on this?
Also, the word seems to be wrong
-> credentials.refreshToken cannot be null.
The text was updated successfully, but these errors were encountered: