AuthorizationCodeInstalledApp waits forever if user close browser

61 views
Skip to first unread message

Kisho Shin

unread,
Jul 12, 2013, 1:57:02 PM7/12/13
to google-api-...@googlegroups.com
Hello,
Calling

new AuthorizationCodeInstalledApp(flow, new LocalServerReceiver()).authorize("user");

opens a browser, so that the user can authorize. If the user accepts or cancel the authorization in the browser everything works fine. But if the user just close the browser, the authorize method does not return and waits forever.

Is this the expected behavior? What do I missing?

Kind regards
Kisho
Reply all
Reply to author
Forward
0 new messages