From 64fb5921ee597dd4840fe94bc288ec43dae43f5a Mon Sep 17 00:00:00 2001 From: Brooke Bryan Date: Wed, 27 Sep 2017 12:30:58 +0100 Subject: [PATCH] Logout should be done through a get request, for backend support and querystring (#13) --- src/OAuth/FortifiProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OAuth/FortifiProvider.php b/src/OAuth/FortifiProvider.php index 6751b54..2208dd8 100644 --- a/src/OAuth/FortifiProvider.php +++ b/src/OAuth/FortifiProvider.php @@ -146,7 +146,7 @@ public function logout(AccessToken $token) { $this->getParsedResponse( $this->getAuthenticatedRequest( - "POST", + "GET", $this->urlLogout($token), $token, ['headers' => $this->getHeaders($token)]