After reviewing the details of Google's DrEdit sample app in Java, which showcases how to create a simple Drive application and manage authorization on the backend, I have come across an issue. Despite authenticating the app previously, users are still required to log in again when choosing a file from their Drive, which can be quite inconvenient.
The file selection process relies on the Google Picker API, available only in Javascript, leading me to explore options for sharing authorization information between the backend and frontend. Is it possible to directly pass the OAuth token from the backend to the frontend? If so, what is the recommended approach to achieve this?