FIX: MacCloud: the issue that when revoke token, it may need to get token first

This commit is contained in:
rich2014 2025-06-27 21:11:45 +08:00
commit 91f98d59f0

View file

@ -187,6 +187,8 @@ var
http: TMiniHttpClient = nil;
begin
try
if NOT _token.isValidAccessToken then
Exit;
http:= TMiniHttpClient.Create( _params.REVOKE_TOKEN_URI, HttpConst.Method.POST );
self.onRevokeToken( http );
self.setAuthHeader( http );