Problem Laravel 5 - How to create API Authentication using Passport ?

Posted in CategoryLaravel
  • A
    Abdul Aziz 1 year ago

    In this tutorial I saw following configuration for user details. 

    'headers' => [

    'Accept' => 'application/json',

    'Authorization' => 'Bearer '.$accessToken,


    Where I write this code? From where I get $accessToken? Please inform me.

    With Thanks

    Abdul Aziz


Please login or register to leave a response.

* You May Also Like Bellow Issue to check *