How do I make api call to google provider to fetch user information after oauth2? I'm trying to implement google oauth2. Earlier I was using firebase, but turned out it doesn't work on mobile browers.
Get the session. There's a provider access token in the response you can use to make API calls to google
I've got the session, but I do not exactly know how to make the calls
I mean the session object. Do you have that?
Yess I have it:
That provider access token
I'm meaning to ask the method to make the api call
You'll need to refer to Google's documentation
Yupp I tried to find, but couldn't. Can you please share it for me, that'd be very helpful
Google search skills is important so I think you should practice π what have you tried?
https://developers.google.com/identity/protocols/oauth2 Tried to find here, But anyways. I'll search more. Thank you for your help!
What did you Google?
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...