oauth2-slack
oauth2-slack copied to clipboard
Add BearerAuthorizationTrait
BearerAuthorizationTrait
adds the getAuthorizationHeaders
function which is used in getAuthenticatedRequest
.
I was trying to use getAuthenticatedRequest
like I have with other third party providers to query their APIs and noticed that the token wasn't being inserted.
I wasn't aware of that trait and made a similar PR some time ago. This one looks cleaner though 👍
As in #22 there's no need to append the token
param to URL after this addition
The question remains. Will the owner show up? It's plausible that they're still on holiday