Back

Passport in laravel 5.4 always return error: "Unauthenticated.", I am calling this api by rest client.


Passport in laravel 5.4 always return error: "Unauthenticated.", I am calling this api by rest client. I have done all things according to tutorial, But got same error always.

PrabakaranT replied 4 months ago

raksrivastava said:

Passport in laravel 5.4 always return error: "Unauthenticated.", I am calling this api by rest client. I have done all things according to tutorial, But got same error always.

Ok, let me know, are you using token based or Oauth 2 for authenticating your api?

For Oauth2 check this -> https://mattstauffer.co/blog/introducing-laravel-passport

For token based auth, check this -> https://gistlog.co/JacobBennett/090369fbab0b31130b51

raksrivastava replied 4 months ago

I am using Oauth 2. Already, I had checked this tutorial. got same error.

hainguyents13 replied 3 months ago

raksrivastava said:

I am using Oauth 2. Already, I had checked this tutorial. got same error.

please descrice your problems in detail, i have just finished working with passport, maybe i can help.


Sign in to participate in this thread!



We'd like to thank these amazing companies for supporting us