Closed sidan5 closed 2 years ago
@zicyApp Can you look into this?
@sidan5 I think it should be await
appleSignin.revokeAuthorizationToken(refreshToken, options);
@sidan5 I think it should be
await
appleSignin.revokeAuthorizationToken(refreshToken, options);
It's not recognized as asynchronous function...
@sidan5 also the revoke should only return an empty 200 on success
@sidan5 Check version 1.7.3 -- Are you still facing the problem.
@A-Tokyo Still get no error and an empty response for any dummy token. Expect to get some error response.
@sidan5 @A-Tokyo I've done some extra tests with the revoke call.
We can only get { error: 'invalid_client' }
when the client_id or the client_secret is invalid. With a dummy/expired token you can only get an empty response.
I also had a typo in the last parameter token_type_hint
, but it's optional so the call should work without that anyway.
@zicyApp so how do you know when success? 🤔
@sidan5 I test it normally with the complete login flow
@sidan5 I think @zicyApp's answer solved this issue. Please reopen the issue if you're still facing this problem.
@zicyApp Thanks for your contributions!
I'm using
'response' I'm getting is always empty. I'm setting up 'refreshToken' as some dummy string and still no error. Please help.
Everything is set up correctly and I'm retrieving clientSecret correctly.