oauth_expiry
cookie provides incorrect information when using refresh_token
#6684
Closed
1 task done
ALL software version info
Probably not specific to
panel
version though.Description of expected behavior and the observed behavior
I am using the
generic
OAuth handler. I am also using the refresh token functionality.The issue I face is that after the
access_token
has been refreshed, theoauth_expiry
cookie appears to provide incorrect information (it still provides information relevant to the originalaccess_token
).It's quite possible that I am doing something incorrect, and this is not in fact a bug. I had a quick look at the code to try and understand what was going on.
It appears that the
oauth_expiry
cookie is set in a single location inside the_on_auth
function. It also appears that this function is not entered when handling arefresh_token
. This suggests to me that this might actually be a bug ie the cookie is not updated. If I have misunderstood, I will try and share a MRE that should hopefully resolve the issue one way or another.Complete, minimal, self-contained example code that reproduces the issue
Not included.
The text was updated successfully, but these errors were encountered: