I'm developing an app that handles a lot of basic functions to remove some human error when handling machines. It interacts with the API, and I had my admin account in the JSS by itself and everything was working fine. I removed my account since I had the LDAP groups that it's a part of in the JSS Users & Groups as well, and it was redundant. What happened when I did that, was I started getting 401 responses when trying to load the program and it went to read the sites and computer info etc.
Playing around, I found that I can login with my admin account to the JSS webpage and can get to the static computer groups and everywhere else just fine. However when I navigate manually to the JSS API webpage and try to run a GET request with the same LDAP ID on computer groups, it fails there as well and I get the 401 response.
The point of this is so as techs are hired and added to the LDAP group for admins they should be able to launch the app without any issues and with no manual intervention of adding them to the JSS User & Groups. I also don't want to create a standalone API account and store the credentials within the app that has read/write permissions to my JSS as that is very insecure. The JSS website handles LDAP users fine now, and this functionality should be extended to the API as well.