

It successfully redirects back to my app after I authorize, and the app processes the authorization code: GoogleTokenResponse response = That successfully redirects to the google site where I can authenticate and authorize my app to send mail on my behalf. New GoogleAuthorizationCodeRequestUrl(clientId,Ĭollections.singleton(GmailScopes.GMAIL_SEND) The authorization redirect is constructed: String url =

Then, I implemented the oauth2 flow in my app using the google oauth client
