Knowledge base · Studio 3T Web IDE

Studio 3T Web IDE: MongoDB OIDC Connections

By Donovan Kinney · Updated

Connections can be configured in Studio 3T Access to use MongoDB’s OIDC authentication (MONGODB-OIDC), common with MongoDB Atlas and enterprise identity providers. Unlike credential-based connections, where the connection carries a stored database user, an OIDC connection authenticates each user individually against the identity provider.

Connecting

Open an OIDC connection like any other: double-click it in the tree. Studio 3T Build starts a device authorization flow and shows a dialog with a one-time code and a verification link:

  1. Follow the link (or open it on any device) and enter the code. Copy puts it on your clipboard.
  2. Sign in with your identity provider and approve the request.
  3. The dialog completes automatically (“Waiting for authentication to complete…”) and the connection opens.

Cancel abandons the flow at any point.

Per-user authentication

Every user completes their own device flow. OIDC connections are never shared between users:

  • The MongoDB connection is opened server-side per user, authenticated with that user’s own token, so MongoDB sees and authorizes each person individually.
  • Tokens are cached server-side per user and connection for the token’s lifetime, so reconnecting shortly after does not prompt again. When the token expires (and it cannot be refreshed), the device flow runs again.

Configuring OIDC connections

The OIDC settings (identity provider, client, and MongoDB deployment) are part of the connection definition in Studio 3T Access. Studio 3T Web IDE users only complete the sign-in step.

With your consent, we and third-party providers use cookies and similar technologies on our website to analyse your use of our site for market research or advertising purposes, including personalized advertising (“performance”), to provide you with additional functions (“functional”), and to show content from social media platforms, such as embedded videos (“social media”). This may result in the creation of pseudonymous usage profiles and the transfer of personal data to third countries, including the USA, which may have no adequate level of protection for the processing of personal data. Please choose for which purposes you wish to give us your consent and store your preferences by clicking on “Accept selected”. You can find further information in section 9 of our Privacy Policy.

Manage consent preferences