Or you can just use a reverse proxy that does authentication in front of jester. This makes it more of a configuration job than a development pursuit.
If you're not set on a particular reverse proxy, I'd recommend you take a look at Caddy as a simple-to-deploy-and-configure solution: https://beneaththeradar.blog/caddy-with-google-oauth2/