Delete Github OAuth access token when user logged out of GitHub

2.4k Views Asked by At

I'm building a website which uses GitHub OAuth to authorise users. I'm successfully authorising users and able to get access_token from GitHub to talk to their API. When user logs out of my app I invalidate the session and delete the authorisation, but when user stays active in my app and logs out of GitHub, the access_token is still active article.

I'm looking for a way to logout / re-authorise users when they have logged out of GitHub.

0

There are 0 best solutions below