Skip to content

Conversation

@shivam2680
Copy link
Contributor

Description

Added check in connect call to see if clientId is passed and raise warning to use userAgentEntry

Testing

Unit test added

'Warning: The "clientId" option is deprecated. Please use "userAgentEntry" instead.',
);
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

can we assign it to userAgentEntry if it only give the warning.

Copy link
Contributor Author

@shivam2680 shivam2680 Feb 21, 2025

Choose a reason for hiding this comment

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

We can,
but the issue of sensitive info being passed through this param will persist.

Copy link
Collaborator

@jackyhu-db jackyhu-db Feb 21, 2025

Choose a reason for hiding this comment

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

can you try to redact it if it is service principal client id

@shivam2680 shivam2680 merged commit cd43bcf into main Mar 12, 2025
7 of 8 checks passed
@shivam2680 shivam2680 deleted the shivam2680/add-clientId-warning branch March 28, 2025 08:02
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.

3 participants