Support the ongoing development of Laravel.io →
Configuration Authentication Security
Last updated 3 weeks ago.
0

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

0

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

0

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.

0

Sign in to participate in this thread!

Cloudways

Your banner here too?

Moderators

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

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.