medwera.blogg.se

K9mail oauth2
K9mail oauth2








k9mail oauth2

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 =

k9mail oauth2

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

  • created oauth2 credentials for the app (clientid,.
  • To do that, I did the following on google developer console: I don't want to ask them to enable access to insecure apps in their google accounts as suggested by the javamail FAQ, and I'm willing to implement oauth2 if that's what it takes. I'm trying to use the latest javamail 1.6.0 api in a web app (java 1.8/tomcat8) to send email on behalf of client users of the app.










    K9mail oauth2