Skip to content

[msal-node][msal-common] Update generation of client info headers #1482

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

Merged
merged 15 commits into from
Apr 28, 2020

Conversation

sangonzal
Copy link
Contributor

Moving the generation of the client info headers from msal-common into msal-node. If these values are not passed in from msal-node (or from whoever is calling into msal-common), then we fall back to generating them in common.

Client info headers:

  • client-sku
  • client-version
  • client-os
  • client-cpu

@@ -1,30 +1,31 @@
{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only relevant change here is the addition of "resolveJsonModule": true. (I also fixed the indentation, and thus the big diff)

Copy link
Member

@sameerag sameerag left a comment

Choose a reason for hiding this comment

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

Added some comments

@sangonzal sangonzal changed the title Update generation of client info headers [msal-node][msal-common] Update generation of client info headers Apr 9, 2020
@sameerag sameerag mentioned this pull request Apr 9, 2020
1 task
@sangonzal sangonzal changed the base branch from sagonzal/msal-node-strict-null-checks to msal-node-base April 10, 2020 00:14
Copy link
Contributor

@pkanher617 pkanher617 left a comment

Choose a reason for hiding this comment

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

See comments, we should make the platform packages define client info header values.

Copy link
Member

@sameerag sameerag left a comment

Choose a reason for hiding this comment

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

Lgtm

@sangonzal sangonzal merged commit 3525364 into msal-node-base Apr 28, 2020
@sangonzal sangonzal deleted the sagonzal/msal-node-default-headers branch May 6, 2020 16:36
azure-pipelines bot pushed a commit to pkanher617/microsoft-authentication-library-for-js that referenced this pull request Jan 4, 2022
…lt-headers

[msal-node][msal-common] Update generation of client info headers
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.

4 participants