google / google/googleapis.dart

Offline Access clientViaUserConsent()?

Open
#378 6 comments 1 reaction 0 assignees View on GitHub
package:googleapis_auth
Dominant language
Dart
Stars
419
Forks
136
Avg merge
1h 21m
Merged PRs (30d)
5

Description

How do we grant offline access as defined in the [official documentation](https://developers.google.com/identity/protocols/oauth2/web-server) via clientViaUserConsent()? I am unable to find the parameter.
`clientViaUserConsent(_credentialsID, _scopes, prompt)`

I am looking to have the client authorize my project to access their calendar on the backend and refresh their token. The current issue is on the backend, I am getting an "unauthorized_client" error when calling the refresh.

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.