Able to get file data from Google Drive state query parameter?

Hi,

Apologies if this is a duplicate post.

I was looking through the documentations:

But I am unable to figure out how to use Uppy/Companion to help me with my use case:

  1. user comes into our app by viewing a file from Google Drive; so the url coming in will be something along the lines of:
/pdf-viewer?state=%7B%22ids%22%3A%5B%2214QqrI9Z5MXSQqNGyCOgw4TttRP9uzlwb%22%5D%2C%22action%22%3A%22open%22%2C%22userId%22%3A%22117286215506958893805%22%2C%22resourceKeys%22%3A%7B%7D%7D 

I want to use Uppy/Companion to authenticate/authorize the user via Google and then view that file using Uppy/Companion.

Is this possible?

Thanks.