I’ve just published a Github Repository detailing how to secure your Hugo static website with OAuth2 authentication and deploy it on Fly.io. This is a practical guide based on my own struggles and solutions, offering a working template for anyone looking to protect their internal documentation or client-facing content.
Check out the repository