ninxsoft / Kmart

A Mac command-line tool that generates kick-ass Jamf Pro reports.
MIT License
136 stars 10 forks source link

Add support for token auth instead of basic #18

Closed bartreardon closed 2 years ago

bartreardon commented 2 years ago

As per https://developer.jamf.com/jamf-pro/docs/classic-api-authentication-changes

Would be good to move away from basic auth

ninxsoft commented 2 years ago

Sounds like a great idea! Here's an addendum from an offline conversation we had:

If the first request fails auth for whatever reason, bail. kmart is a good way to lock an account if you get the auth wrong