Closed macMikey closed 5 months ago
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅
I have read the CLA Document and I hereby sign the CLA
recheck
the commit is from "mustache-inc" account , so like other first PullRequest it must be signed by the commit author (you have already signed as macMikey)
PS: I am not the dev of this 4D Component (but have some knowledge about oauth because of my lib OAuthSwift for iOS), I do not think it's the solution to request token each time I will regenerate a token after receiving an exception about token expired
@e-marchand i don't understand why github keeps misassigning the author to some other account. annoying. on the PR, itself, we are not requesting the token, each time. by removing the if block, we are just triggering the check to see if it expired, which then causes the refresh token to be used to get a new access token.
@yannicktrinh that's what you get if you remove the if. see the PR
i'm going to close this PR, since the attribution is wrong, again, and try to resubmit it.
https://github.com/4d/4D-NetKit/issues/63 Per this thread on the forum, the token expire is not being checked.