I am migrating from firebase, when using oauth and signing in with google, I could access photoUrl as part of the response, however I am not able to do so with appwrite (yet)
Everything is working fine with oauth, I am getting redirected to Google and I sign in without issues, however, I am not finding photoUrl as part of the response when I do account.get() and I couldn't find a way to save it through createOAuth2Session... This is how my call is
await account.createOAuth2Session( OAuthProvider.Google, "http://localhost:3000/home", "http://localhost:3000/login", ["profile", "email", "openid"] );
Is there a way to get user's image from Google or not?
Recommended threads
- 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...
- Rate Limit of project
AppwriteException: Rate limit for the current endpoint has been exceeded. Please try again after some time. So , how much time I have to wait and why does it h...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...