Sample-XamarinAuth-Google
Sample-XamarinAuth-Google copied to clipboard
Logout
Hi Tim, I have followed your wonderful represented procedure and implemented google login in my native IOS xamarin app.
I have one new requirement to logout the user from the gmail once user logout in app.
Can you help us out here.?
Hello @naveen-iiit Glad you found this repository useful :)
Regarding your question, let me point you to this great answer on StackOverflow: https://stackoverflow.com/a/12909563
Basically, when authenticating your user through OAuth2, you're only really asking Google to tell you if it knows that user, you're not actively logging him in. So you have no control over the user's Google session. If you really want to log out the user from Google, you can redirect him to the Google logout page.