bshaffer/oauth2-demo-php

Authorization code not erased from storage if it expires before token grant

bdegoy opened this issue · 1 comments

Hi,
I noticed that authorization_codes table was growing regularly.
In normal situation, data is erased by AuthorizationCode::expireAuthorizationCode right after successflul token exchange.
If for any reason authorization code expires before token exchange a line of data remains in table. It happens when I am in step-to-step debugging.
Maybe it's not very important.

Sorry, not the right place.