I have an MVC application which allows you to login from Google using OAuth2.0 Inside the app i am collaborating files from various repositories, one of them is Google Drive. I want to logout the user only from the GoogleDrive login and not from any other instances open in the browser.
Here is a documentation you needed.
Sign out a user
You can enable users to sign out of your app without signing out of Google by adding a sign-out button or link to your site. To create a sign-out link, attach a function that calls the GoogleAuth.signOut()
method to the link's onclick
event.
For further information, you can also refer to this SO post .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.