Also, aren't there ways you can test the security of your website? I'm pretty sure I seen a web service which grades your site against a number of different attacks.
It's more fun to implement it myself. When going into production, I will consider switching. It shouldn't be too difficult to switch the auth module anyways. Plus its good to learnn
> The API first validates the application credentials and then verifies whether the token was issued to the application making the revocation request. If this validation fails, the request is refused and the application is informed of the error. Next, the API invalidates the token.
OK but suppose the attacker obtains the refresh token and it hasn't been revoked. There is no logic to say revoke this token as we do not know its been compromised