Before start:
- Read and generate TLS certificate Chapter 10.1 Alex Edwards Let's Go
- Create tls directory in the root and move 2 generated .pem files there
- Create a Google client ID and client secret: https://www.loginradius.com/blog/async/google-authentication-with-golang-and-goth/
- Update env variables
P.S.
- type https://localhost:#Your_address in the url, not just localhost:#Your_address
- no refresh tokens, only access token
- remove google warning about https (optional): https://peacocksoftware.com/blog/make-chrome-auto-accept-your-self-signed-certificate (then restart pc)