Problem with finished Selector

73 views
Skip to first unread message

Andreas Neubert

unread,
May 25, 2011, 11:36:24 AM5/25/11
to GTM OAuth Discussion
Hello,

I got the library up and running for the iPhone and I am able to
connect myself via oAuth to our custom API. The only problem I have
is, that the finishedSelector is never called and the library
redirects the UIWebView to the Callback URL that I have entered.

The viewController:finishedWithAuth:Error Method is in the AppDelegate
where I also preform the sign in via an own method that is called
durin AppDidFinishLoading.

The delegate for the finished selector is "self" which should be fine,
because that is where the viewController:finishedWithAuth:Error Method
method is located?

What am I doing wrong?

Regards,
Andreas

Greg Robbins

unread,
May 25, 2011, 2:57:25 PM5/25/11
to gtm-...@googlegroups.com
Set a breakpoint at the beginning of GTMOAuthSignIn.m's requestRedirectedToRequest: method. That is where the library checks for a redirect to the callback URL.
Reply all
Reply to author
Forward
0 new messages