From 36b2bcc8dd132a34e2b145781ab65717912c0049 Mon Sep 17 00:00:00 2001 From: DontCryAndPlay Keikira Date: Mon, 6 Sep 2021 21:21:47 +0200 Subject: [PATCH] Fixes SSO bug when sending payload as JSON body --- app/Client/Ccp/Sso/Sso.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Client/Ccp/Sso/Sso.php b/app/Client/Ccp/Sso/Sso.php index 2a43626..2f33551 100644 --- a/app/Client/Ccp/Sso/Sso.php +++ b/app/Client/Ccp/Sso/Sso.php @@ -57,7 +57,7 @@ function($body) : array { */ protected function getAccessRequest(array $credentials, array $requestParams = []) : RequestConfig { $requestOptions = [ - 'json' => $requestParams, + 'form_params' => $requestParams, 'auth' => $credentials ];