I am working with Gmail API in Go as backend. I made the Gmail sign-in authentication in front end using javascript and sending the auth-code to backend using AJAX Post meth