I've been searching for an answer on Google documentations and stackoverflow also, but i did not find answer. I planned to create application (PHP) which uses google account (ex. admin@domain.com) to store templates of documents. When someone log in to the application using his own credentials (ex. user@domain.com) he can fulfill some form, then PHP application logs into own Google account and store it with data provided by user in new document with template look.
I don't want to redirect user to google and return to application with some token(s). I would like application make some login process in "silent mode" - invisible for user, no redirects.
Simple scheme:
User fulfill form --(sending data to app)--> App logs into own google account (admin@domain.com) --> Get template document --> Fulfill with user's data from form --> save as copy on Google Drive
Can somebody tell me if it is possible?