Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: clientId.refreshToken cannot be null. #421

Open
frgmt opened this issue Jun 16, 2022 · 0 comments
Open

iOS: clientId.refreshToken cannot be null. #421

frgmt opened this issue Jun 16, 2022 · 0 comments

Comments

@frgmt
Copy link
Contributor

frgmt commented 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

final refreshToken = credentials.refreshToken;
if (refreshToken == null) {
  throw ArgumentError('clientId.refreshToken cannot be null.');
}

-> credentials.refreshToken cannot be null.

@frgmt frgmt changed the title clientId.refreshToken cannot be null. iOS: clientId.refreshToken cannot be null. Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant