Commit 999de3ac authored by Liran Nuna's avatar Liran Nuna Committed by Jon Wayne Parrott
Browse files

Try to revoke token with POST when getting a 405 (#662)

The OAuth spec does not specify the HTTP verb explicitly but it does hint that POST is the correct verb.
When using the client library with other OAuth services that implement revocation token via a POST, revoking the token will fail.

This commit adds the ability to re-try the revocation process if we get a 405 with the POST verb.
parent 3f9fdbd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment