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 optionally use client credentials #120

Closed macblazer closed 8 months ago

macblazer commented 1 year ago

Jamf Pro v10.49+ supports OAuth client credentials flow to generate tokens for access to the endpoints that PPPC Utility uses. We should update the networking code to support this newer standard. More info can be found here.

Configuring the client credentials flow vs username/password should be part of the options sheet during the upload process. Be sure to have the ability to save which flow is wanted and the client ID and client secret in the keychain so users don't have to enter this info more than once.