Google OAUTH2 on Self-Hosted

I got it solved after configuring the env, I followed this setup: