Since the management code uses a shared global session, with the cookie being passed to the backend only being updated on a login request. It could be good to save the cookie in a file and re-use it since it will be valid for a full hour after creation. Then if someone else logs in between our login, and the next run it will be using their potentially more privileged account.
login request
Since the management code uses a shared global session, with the cookie being passed to the backend only being updated on a login request. It could be good to save the cookie in a file and re-use it since it will be valid for a full hour after creation. Then if someone else logs in between our login, and the next run it will be using their potentially more privileged account.
login request