Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/atlas-service/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export type AtlasServiceConfig = {

/**
* Atlas service backend configurations.
* - atlas-local: local mms backend (localhost)
* - atlas-local: local mms backend (cloud-local.mongodb.com)
* - atlas-dev: dev mms backend (cloud-dev.mongodb.com)
* - atlas-qa: qa mms backend (cloud-qa.mongodb.com)
* - atlas-staging: staging mms backend (cloud-stage.mongodb.com)
Expand All @@ -142,14 +142,14 @@ const config = {
'atlas-local': {
ccsBaseUrl: 'ws://localhost:61001/ws',
cloudBaseUrl: '',
atlasApiBaseUrl: 'http://localhost:8080/api/private',
atlasApiBaseUrl: 'http://cloud-local.mongodb.com/api/private',
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Atlas API base URL uses insecure 'http://' protocol instead of 'https://'. While this is a local environment, using 'https://' would be more consistent with other environments (dev, qa, staging, prod) and better reflect production-like conditions.

Suggested change
atlasApiBaseUrl: 'http://cloud-local.mongodb.com/api/private',
atlasApiBaseUrl: 'https://cloud-local.mongodb.com/api/private',

Copilot uses AI. Check for mistakes.
atlasLogin: {
clientId: '0oaq1le5jlzxCuTbu357',
issuer: 'https://auth-qa.mongodb.com/oauth2/default',
},
authPortalUrl: 'https://account-dev.mongodb.com/account/login',
authPortalUrl: 'https://account-local.mongodb.com/account/login',
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The auth portal URL points to 'account-local.mongodb.com' while other environments use 'account-dev.mongodb.com'. Verify that this local auth service exists and is properly configured, as authentication failures could be difficult to debug if this endpoint is not available.

Suggested change
authPortalUrl: 'https://account-local.mongodb.com/account/login',
authPortalUrl: 'https://account-dev.mongodb.com/account/login',

Copilot uses AI. Check for mistakes.
assistantApiBaseUrl: 'https://knowledge-dev.mongodb.com/api/v1',
userDataBaseUrl: 'https://cloud-dev.mongodb.com/ui/userData',
userDataBaseUrl: 'https://cloud-local.mongodb.com/ui/userData',
},
'atlas-dev': {
ccsBaseUrl: '',
Expand Down
Loading