Email with Google Auth missing

Hi all,

i enabled Authentication via Google in MongoDB Realm. And the authentication works well. But the App User in Realm is missing the email. I dont receive the email as Provider Data. Any idea whats wrong?

2 Likes

Hi @Julien_Rensch-Furste , I faced the same issue and can not find any solution for it. Do you find the way to fix this issue?

did anyone find out why?

I’m running into this issue as well. My guess is it has something to do with using OpenID. The JWT returned from Google contains all the metadata (so that can be decoded on the frontend with a library) but when passing that JWT to Realm App Services then everything except the name property gets stripped. This preventing me from associating custom data, like email and picture, with user in Atlas.

Help!