Using FastAPI and React, I try accessing files in a Google Drive folder provided via link with OAuth2.0. My /folder endpoint returns 401. Is this allowed?
from fastapi import FastAPI
app_instance = FastAPI()
@app_instance.get('/folder')
def retrieve_files():
return 'Folder files retrieved successfully'