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:


and if successful:

and if any failures occur:
