Im following this tutorial here
https://developers.google.com/identity/sign-in/web/server-side-flow
And ive gotten as far as getting the code from javascript