I would suggest trying [mod_auth_openidc](https://github.com/zmartzone/mod_auth_openidc/wiki) You can use an apache web server to protect a static html page, protected by OpenID Connect. There are tons of available OpenID libraries out there and great tutorials too.