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

Fix the union credential issue #2195

Merged
merged 8 commits into from
Feb 6, 2024
Merged

Fix the union credential issue #2195

merged 8 commits into from
Feb 6, 2024

Conversation

MaryGao
Copy link
Member

@MaryGao MaryGao commented Jan 9, 2024

fixes #2186

@MaryGao MaryGao marked this pull request as ready for review January 9, 2024 11:08

const client = getClient(baseUrl, credentials, options) as LearnClient;

if (isKeyCredential(credentials)) {
Copy link
Member Author

@MaryGao MaryGao Jan 9, 2024

Choose a reason for hiding this comment

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

The helper is supposed to be added in core-auth. And the core pr is here Azure/azure-sdk-for-js#28191.

@MaryGao MaryGao self-assigned this Jan 9, 2024
@MaryGao MaryGao changed the title Fix the union credential issue [pending core] Fix the union credential issue Jan 11, 2024
@qiaozha qiaozha changed the title [pending core] Fix the union credential issue Fix the union credential issue Feb 6, 2024
@qiaozha qiaozha merged commit f83d8df into Azure:main Feb 6, 2024
28 checks passed
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.

TS2339 compile error when using both BearerAuth and OAuth2Auth for authentication
5 participants