Deploy Bookdown Behind SSO Login

Hello! I'm looking to deploy a bookdown document behind Google SSO authentication and I don't have the deepest level of knowledge in the area, would love to get people's thoughts.

What are the best ways to add Google authentication to a bookdown doc hosted as a GitHub Pages site? Since it's just a static file and there is no server, any way to make that happen?

If I can't just add authentication to the GitHub Pages deployment, is there a way for me to deploy the bookdown as a docker container on some type of deployment with a server where I can add the Google authentication?

Any clarity on this topic would be much appreciated :blush: