On this page
MongoDB Realm can read user metadata from authentication providers. Then, Realm exposes each user's data in a field of their user object. For example, you might want to access a user's name, email, birthday, or gender.
You can configure MongoDB Realm to request metadata with the access token when users log in. You can access that data from the logged-in user's object with a client SDK.
You can define the metadata to request when you configure authentication providers. Specify optional metadata fields that you want to access through the user's account. These metadata fields vary depending on provider.
JWT authentication metadata is completely customizable. You specify JWT authentication metadata to request when you configure it.