File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 BW_ACCOUNT_ID : ${{ secrets.BW_ACCOUNT_ID }}
3636 BW_USERNAME : ${{ secrets.BW_USERNAME }}
3737 BW_PASSWORD : ${{ secrets.BW_PASSWORD }}
38+ BW_CLIENT_ID : ${{ secrets.BW_CLIENT_ID }}
39+ BW_CLIENT_SECRET : ${{ secrets.BW_CLIENT_SECRET }}
3840 BW_VOICE_APPLICATION_ID : ${{ secrets.BW_VOICE_APPLICATION_ID }}
3941 BW_MESSAGING_APPLICATION_ID : ${{ secrets.BW_MESSAGING_APPLICATION_ID }}
4042 BW_NUMBER : ${{ secrets.BW_NUMBER }}
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ protected function configureOAuth2Auth(&$headers)
132132 $ this ->config ->getClientId () . ': ' . $ this ->config ->getClientSecret ()
133133 ),
134134 ],
135- 'grant_type= client_credentials '
135+ \ Unirest \ Request \Body:: Form ([ 'grant_type ' => ' client_credentials '])
136136 );
137137
138138 if ($ response ->code < 200 || $ response ->code > 299 || !isset ($ response ->body ->access_token )) {
You can’t perform that action at this time.
0 commit comments