oauth2-slack icon indicating copy to clipboard operation
oauth2-slack copied to clipboard

Add BearerAuthorizationTrait

Open deevus opened this issue 6 years ago • 2 comments

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.

deevus avatar Dec 12 '18 03:12 deevus

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

AndreiIgna avatar Jan 03 '19 12:01 AndreiIgna

The question remains. Will the owner show up? It's plausible that they're still on holiday

deevus avatar Jan 04 '19 03:01 deevus