Skip to content

Setup auth with GitHub Pages

Basic Auth with GitHub Pages

The need for a proxy

As mentioned in mkdocs/mkdocs#2832, a tool like oauth2-proxy/oauth2-proxy would need to be put in front of GitHub Pages in order to enable OAuth or OIDC. - oauth2-proxy/oauth2-proxy - https://oauth2-proxy.github.io/oauth2-proxy/configuration/providers/google - Using Nginx as an SSL proxy to GitHub Pages - Blog on GitHub pages that is served from a Sub-URL - nginx reverse proxy github pages - NGINX Reverse proxy settings to Github pages

Other resources about single sign-on (SSO) setup