jamf / PPPC-Utility

Privacy Preferences Policy Control (PPPC) Utility
MIT License
735 stars 46 forks source link

Connection to Jamf Pro should be updated to use Bearer Tokens #113

Closed macblazer closed 2 years ago

macblazer commented 2 years ago

Jamf Pro v10.35+ supports bearer tokens for access to the endpoints that PPPC Utility uses. We need to update the networking code to support this newer standard. More info can be found here.

An important note in the linked document says

Support for Basic authentication via the Classic API has been deprecated and will be removed at a future time (estimated removal date: August-December 2022).

Another important factor is that the PPPC Utility should try to be backwards compatible. Using bearer tokens should be the new default, but the app should have an option to support Jamf Pro v10.34 and lower with Basic Authentication.