How do I obtain the authorization code and access token URIs for Google OAuth 2.0

If you are doing these and selecting your email from consent if you get an html page in console log then you are mismatching the code ủri and token uri

https://accounts.google.com/o/oauth2/auth This is code uri

And https://oauth2.googleapis.com/token
This is for token

This mistake I have made so plz if you find this helpful then let me know

I have tried to integrate bigquery so I have got this html page but not getting response
So I found that I am mísmatching the ủri