artdarek / oauth-4-laravel

OAuth Service Provider for Laravel 4
685 stars 217 forks source link

How to pass access token as Authorization header? #184

Open plindsay opened 6 years ago

plindsay commented 6 years ago

Hi, I have an access token for a user saved in the DB, and wanted to make an API request on their behalf. I understand I can append the 'access_token' parameter to the API endpoint URL, but I would prefer to send it in a HTTP authorization header - how would I do that?

Cheers