Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing multi-tenant support. #2447

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sevoku
Copy link
Member

@sevoku sevoku commented Nov 20, 2024

Select the right Tenant when authenticating SDK calls and pass it along to VSCode when retrieving the token from the session.

@sevoku sevoku requested a review from languy November 20, 2024 15:38
@sevoku sevoku requested review from a team as code owners November 20, 2024 15:38
Select the right Tenant when authenticating SDK calls and pass it along to VSCode when retrieving the token from the session.
@sevoku sevoku force-pushed the dev/sevoku/support-multi-tenant branch from 0c1557d to 8ae59be Compare November 20, 2024 15:48
@sevoku sevoku marked this pull request as draft November 20, 2024 15:59
// OAuth is always enabled for Cosmos DB and will be used as a fall back if key auth is unavailable
const authCred = { type: 'auth' };
const authCred = { type: 'auth', tenantId: tenantId };
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: const authCred = { type: 'auth', tenantId }; should work, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants