#Google API auth

2 messages · Page 1 of 1 (latest)

ripe wyvern
#

Hello everyone! I know this is not the best place to ask this, but I really have tried everywhere with no luck, and hoping maybe someone from here can help. So, here's my problem:

I am working on a webapp for managing team tasks in a competition (I am a team member). The workflow is the following:

  • The staff posts a task to a Google Classroom course
  • The webserver detects the change, pulls it from the course.
  • The webserver saves all tasks to the database, with added functionality. (done)
  • The user can access all relevant tasks. (done)
  • The user posts the tasks (maybe with media) to the webserver. (done)
  • The webserver sends the media and task submission to the Classroom API.

The problematic part is the authentication: I have a single google user account, acting as a "proxy", or a bot. The web server signs into this account and uses it as if it were a regular user. I have seen solutions, like service accounts, and using OAUTH , but the former can't join courses, and the latter requires the end user to log in to their own account 😦 .

I would be very grateful if someone figured out a solution for this... Thx.

upbeat onyx
#

You will need to use oauth here where the instructor will have to approve your application to integrate with their Google account.