Docs Menu

Docs HomeAtlas App Services

Enable User Metadata

On this page

  • Overview
  • Configuration
  • Custom JWT
  • Procedure
  • Navigate to the Authentication Provider Configuration Screen
  • Configure User Metadata
  • Deploy the Updated Application
  • Pull the Latest Version of Your App
  • Configure User Metadata
  • Deploy the Custom User Data Configuration
  • Access User Metadata from a Client Application

Atlas App Services can read user metadata from authentication providers. Then, App Services 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 App Services 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.

Facebook
Google
Custom JWT
  • name

  • first_name

  • last_name

  • picture

  • gender

  • birthday

  • min_age

  • max_age

  • email

  • name

  • first_name

  • last_name

  • picture

  • email

  • Custom

JWT authentication metadata is completely customizable. You specify JWT authentication metadata to request when you configure it.

Realm SDKs have different implementations for accessing user metadata in a client application. Check out the details in the SDK documentation:

  • Realm Swift SDK

  • Realm Flutter SDK

  • Realm .NET SDK

  • Realm Node.js SDK

←  Enable Custom User DataDelete or Prevent Users From Accessing an App →
Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.