You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the League's AbstractProvider class, it says that providers must overload this method because there are no defaults provided. This is the code in the League's src: protected function getAuthorizationHeaders($token = null) { return []; }
This is going to need to be something like: protected function getAuthorizationHeaders($token = null){ return array("Authorization"=>"Bearer " . $token); }
Though I haven't tested it yet.
The text was updated successfully, but these errors were encountered:
In the League's AbstractProvider class, it says that providers must overload this method because there are no defaults provided. This is the code in the League's src:
protected function getAuthorizationHeaders($token = null) { return []; }
This is going to need to be something like:
protected function getAuthorizationHeaders($token = null){ return array("Authorization"=>"Bearer " . $token); }
Though I haven't tested it yet.
The text was updated successfully, but these errors were encountered: