This repo contains an Oath2 authenticator in pure go, html and js.
It's an extension of a tutorial by Soham Kamani1 which also implements support for authentication via google, and use of json/p to manage credentials.
Credentials aren't secured, yet. Do not use this in production.
Usage
You must have go to use this. It was developed in Go 1.17.
Github