google / google/googleapis.dart

iOS: clientId.refreshToken cannot be null.

Open
#421 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
419
Forks
136
Avg merge
1h 21m
Merged PRs (30d)
5

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.