DeX Posted January 26, 2018 Share Posted January 26, 2018 I already have the script working to access my Google Drive contents but at the beginning of the session the user must enter the Drive password, then the web application I built will work fine until that Drive access token expires (3600 seconds). Then you can either enter the password again or set up a refresh token to renew but I'm trying to avoid this initial manual login. We use Google Drive for document management here in the office and all of our job files are stored there so anyone in the company with access can go in and look at any files related to a specific job in their Google Drive (via Shared With Me link). I'm building an area in our internal job management web application that will allow people to view these files in our portal and also upload new files through the portal that go into Google Drive into that job file's folder. These users using this portal have no idea what the login is for the main Drive administrator but this account will be used to access the files. Therefore when it prompts them for the password in my web application, they won't know it. I want it to just allow them access seamlessly, is this possible? I'm only granting them view and upload permissions and it's a small group of people I trust with those permissions. The reason for the web application is because I built something that runs all of our job estimation and stores all of our quotes, customer profiles and purchase orders associated with each job. Everything is automatically generated with an estimated price so I would like to have another tab which shows all associated files to that job which have been uploaded to the main Google Drive account so everything is together in one place. Does Google and OAuth2 even allow this? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.