Skip to content

Add patch for client credential support to cpprest package.#442

Closed
abeltrano wants to merge 5 commits intomicrosoft:1.0-devfrom
abeltrano:anbeltra/cpprest-clientcreds
Closed

Add patch for client credential support to cpprest package.#442
abeltrano wants to merge 5 commits intomicrosoft:1.0-devfrom
abeltrano:anbeltra/cpprest-clientcreds

Conversation

@abeltrano
Copy link
Copy Markdown

@abeltrano abeltrano commented Dec 8, 2020

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

This adds support to use OAuth2 client credentials grant type to the cpprest package. This grant type is commonly used in the absence of a user, so is useful for applications involving IoT devices.

Change Log
  • Add cpprest-2.10.14-Add-support-for-oauth2-using-client-credentials.patch, enabling grant type 'client_credentials'.
Does this affect the toolchain?

NO

Associated issues
Test Methodology
  • Local package build of cpprestsdk package.
  • This patch has been used successfully since 09/15/2020 in a Mariner-derivative at Microsoft for an Azure project, using the same base version of cppresksdk (2.10.14). The package is used by two other packages in the derivative.

@ghost ghost added the Packaging label Dec 8, 2020
@abeltrano abeltrano changed the title Add patch for client credential support. Add patch for client credential support to cpprest package. Dec 8, 2020
@abeltrano abeltrano changed the base branch from 1.0 to 1.0-dev December 8, 2020 01:02
jperrin and others added 5 commits December 7, 2020 17:06
Signed-off-by: Jim Perrin <Jim.Perrin@microsoft.com>
* Revert "Implement "distroless" containers (microsoft#252)"

This reverts commit e41efdd.

* Revert "Implement "distroless" containers (microsoft#252)" (microsoft#264)

This reverts commit e41efdd.
@abeltrano abeltrano force-pushed the anbeltra/cpprest-clientcreds branch from 7e512dc to 710eb3c Compare December 8, 2020 01:06
@abeltrano abeltrano closed this Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants