mirror of
https://github.com/System-End/Function.git
synced 2026-04-19 20:55:10 +00:00
Update function.js
This commit is contained in:
parent
da8658f766
commit
b7d0803439
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue