praxder/gtm-oauth2

redirectURI is loaded but the control is not returned to app

Closed this issue · 3 comments

What steps will reproduce the problem?
1. Update example app to use another service provider
2. Provide client ID/secret key
3. Press Sign-In

What is the expected output? What do you see instead?
I expected my app to regain the control after web page authorization finishes. 
If I separately check my service provider then it says my app has been granted 
access. In my if I manually pop the web view, 
viewController:finishedWithAuth:error reports authentication failure.

What version of the product are you using? On what operating system?
trunk. iOS 5.

Please provide any additional information below.


Original issue reported on code.google.com by devang.p...@gmail.com on 24 Aug 2012 at 6:04

Set a breakpoint at GTMOAuth2SignIn's requestRedirectedToRequest: method to see 
what is going on. That is where the determination is made that sign-in should 
be complete.

Original comment by g...@coldnose.net on 24 Aug 2012 at 7:31

Thanks for the hint. The redirectURI did match case sensitivly. Now it works.

Original comment by devang.p...@gmail.com on 24 Aug 2012 at 4:13

Original comment by grobb...@google.com on 28 Aug 2012 at 6:18

  • Changed state: Invalid