Google
Connect Google Drive
Access files you create with this app.
Google
Google Drive
Access files you create with this app.
Sample request
// 1. Mint a session token for the end user
const session = await link.connect.session({
integrationKey: "google-drive",
userId: "u_42",
});
// 2. After the user completes OAuth, proxy a request
const res = await link.proxy("google-drive", "u_42", {
method: "GET",
endpoint: "/v1/me", // replace with the provider's resource
});