Since we no longer delete duplicates, expired access tokens are no longer removed. Cron only removed access token based on refresh tokens, and refreshing a access token only deletes the used refresh token.

Comments

seanB created an issue. See original summary.

seanb’s picture

Status: Active » Needs review
StatusFileSize
new1.76 KB

Patch is attached to removed the old access token on refresh.

seanb’s picture

There was still an issue when the access token was not expired yet (but you're still trying to refresh it). An updated patch is attached.

e0ipso’s picture

StatusFileSize
new4.56 KB

I made some minor modifications to the patch.

  • e0ipso committed 0875a25 on 8.x-1.x authored by seanB
    Issue #2821436 by seanB, e0ipso: Expired access tokens not removed on...
e0ipso’s picture

Status: Needs review » Fixed

Thanks!

  • e0ipso committed 0875a25 on 8.x-2.x authored by seanB
    Issue #2821436 by seanB, e0ipso: Expired access tokens not removed on...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.