Sample-XamarinAuth-Google icon indicating copy to clipboard operation
Sample-XamarinAuth-Google copied to clipboard

OnAuthenticationCompleted never called

Open sneevand opened this issue 7 years ago • 2 comments

After i click login; it goes to google.com by default, never go to on authentication completed code

sneevand avatar Sep 28 '18 21:09 sneevand

I am now having problems with my app, which was working in the past. I did a bunch of refactoring, but as a test I decided to try this example. For me it also fails for me and never completes the authentication. It let's me select the my google ID, but then returns to the google search page.

When I look at logcat output, I see the same kind of message I see for my app, I've added below. Has something changed to break Google with Xamarin.Auth?

11-06 11:35:48.238 20218 20218 I chromium: [INFO:CONSOLE(0)] "Navigation is blocked: com.woodenmoose.xamarin.googleauth:/oauth2redirect?state=nyeryjdxdwqqflps&code=4/jQALbzhLRhrbYssjaT0PjA8VSwdNa-iudp HK1JS1zWR8AwrNoVN7SJWedLOU_uVd6JY4GwDZHwyXJvQadvEAVg4&scope=openid%20email%20https://www.googleapis.com/auth/userinfo.email%20https://www.googleapis.com/auth/plus.me", source: https://accounts.google. com/signin/oauth/oauthchooseaccount?client_id=723962257721-ql0tki3si3s22l1lsovimivkmnrfm6rr.apps.googleusercontent.com&as=I8ThuyzOG_2K788oB5QDFw&approval_state=!ChR6UkdOT3U2eUFQWFJhbWJibU5LNBIfazhEZmh CWDg0eFVXd0ktM2lWMU9TaWRuUFJTZWJoWQ%E2%88%99APNbktkAAAAAW-MUYi07uHk3F8veYKOCawXUDa99_-Ts&oauthgdpr=1&xsrfsig=AHgIfE8RMz_rdgOjbLulDgEjnz2mNtiOQw&flowName=GeneralOAuthFlow (0)

paulelong avatar Nov 06 '18 16:11 paulelong

This has to do entirely with your RedirectUrl Check the Links in the last comment on https://github.com/TimLariviere/Sample-XamarinAuth-Google/issues/2

XceSx6 avatar May 25 '19 19:05 XceSx6