Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-1816

User data not returned from Google oauth login

      How frequently does the bug occur?

      All the time

      Description

      When using the Google provider in Realm App Services, and logging in using Google oauth credentials via realm-web, the user object returned is missing core user data such as email and picture. The user.data object only returns the "name" property. My suspicion is this has something to do with OpenID, but what's strange is the JWT returned from Google does contain extra metadata such as email and picture. However, that metadata is not carried through when logging in via Realm. This also affects the authEvent function on the backend which is preventing me from associating the custom data with user in Atlas.

      Stacktrace & log output

      No response

      Can you reproduce the bug?

      Yes, always

      Reproduction Steps

      No response

      Version

      1.5.1

      What SDK flavour are you using?

      Atlas App Services (auth, functions, etc.)

      Are you using encryption?

      No, not using encryption

      Platform OS and version(s)

      Windows 10

      Build environment

      Which debugger for React Native: ..

      Cocoapods version

      No response

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: