How to solve GTMOAuth2WindowController problem with Rest mode

24 views
Skip to first unread message

Z Dragon

unread,
Jan 10, 2021, 11:21:12 PM1/10/21
to GTM OAuth 2 Discussion

Hi, sir
In my previous project, I used GTMOAuth2WindowController as the login interface. And I can get the error message that the Controller is closed in the following way.
SEL theSel = @selector(windowController:finishedWithAuth:error:);
[windowController signInWindowModalForWindow:self.superWindow delegate:self finishedSelector:theSel];

However, the new rest method just opens a web page to log in. my question is
If the user closes the web page during the login process, can the event be obtained?

Z Dragon

unread,
Jan 10, 2021, 11:21:12 PM1/10/21
to GTM OAuth 2 Discussion
Reply all
Reply to author
Forward
0 new messages