Update function.js

This commit is contained in:
Unknown 2024-06-06 21:03:31 -07:00
parent da8658f766
commit b7d0803439

View file

@ -6,8 +6,8 @@ exports.ExchangeTokenFunction = async (req, res) => {
const tokenEndpoint = "https://oauth2.googleapis.com/token"; const tokenEndpoint = "https://oauth2.googleapis.com/token";
const tokenParams = new URLSearchParams({ const tokenParams = new URLSearchParams({
client_id: client_id:
"49121286862-vihhl46cr7v5acqjp99nuuc001dnfs4q.apps.googleusercontent.com", "460702587834-648e1i2dmfu35i7ip1p5qa10mkcmastg.apps.googleusercontent.com",
client_secret: "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", client_secret: "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",
code: code, code: code,
redirect_uri: "http://localhost:5500/Pages/callback.html", redirect_uri: "http://localhost:5500/Pages/callback.html",
grant_type: "authorization_code", grant_type: "authorization_code",