I have a web form that our HR department uses to add new employees. It adds them to the database, inserts them into Active Directory, and a few other things. We would like it to also create their Gmail account and subscribe them to groups (our current users are already in Gmail under our domain).
Everything I find requires OAuth2 for this, yet it seemingly requires a prompt. "Google displays a consent screen to the user".
Is there a way to do what I want behind the scenes without any sort of prompt?