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

Logout

Open naveen-iiit opened this issue 5 years ago • 1 comments

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.?

naveen-iiit avatar Feb 05 '20 11:02 naveen-iiit

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.

TimLariviere avatar Feb 05 '20 20:02 TimLariviere