Grant Secure token with Swift UI

ScottEKendall
Contributor

Back again with some more goodies.  Modified the script from https://mostlymac.blog/2021/06/09/using-a-self-service-policy-to-grant-end-users-a-secure-token/ to put a nice Swift UI interface on it and some GUI feedback on the process.  

Code is here: https://github.com/ScottEKendall/JAMF-Pro-Scripts/blob/main/GrantSecureToken.sh

and here are some screenshots:

Screenshot 2025-02-18 at 11.09.27 AM.pngScreenshot 2025-02-18 at 11.09.39 AM.png

 

and if successful:

Screenshot 2025-02-18 at 11.09.16 AM.png

and if any failures occur:

Screenshot 2025-02-18 at 12.04.08 PM.png

0 REPLIES 0