
I want to setup google oauth sign up in my flutter app. Bascially i want to get the credentials like firstname, surname, email, number and save them in the users collection

.?????

After creating the OAuth2 Session, the session has a providerAccessToken
that can be used to make API calls to the provider to fetch data.

Take an example google

How do I get data

The the provider access token from Appwrite and make an API call to google

Anyone who knows how to make an api call to Google and get credentials.??

maybe this will help: https://stackoverflow.com/questions/7130648/get-user-info-via-google-api

Thanks

[SOLVED] google oauth getting credentials
Recommended threads
- Flutter Google Auth (Access blocked: Thi...
It is working fine on web platform, but on Flutter I'm getting this error. Any option to fix, or this issue with AppWrite and need to use different option? Ac...
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
- How can we add more than 8 attributes in...
Hey, when I tried to add attribute in my collection it showed me this Error "The maximum number or size of attributes for this collection has been reached." How...
