kc9wwh / logCollection

Script to upload client device logs to Jamf Pro
MIT License
107 stars 27 forks source link

Adding bearer auth support #25

Closed altonbrailovskiy closed 6 days ago

altonbrailovskiy commented 8 months ago

With the jamf API changes, this stopped working with basic auth methods. Along with jamf support, I made some tweaks and came up with an updated script that works with the new updated bearer changes required for this to work correctly.

https://github.com/altonbrailovskiy/logCollection/blob/master/BearerAuth.sh

BearerAuth.txt

altonbrailovskiy commented 8 months ago

-- Confirmed via MacAdmins that this is working after retrying. Hope this helps others!

sean-enright commented 8 months ago

YES, I have removed my original comment as well since the problem was me adding scripting to the script that caused it to fail. Works Great, thank you again for the assist.