Oct 11, 2023
0
Level 1
"Unauthenticated" Error on server only
I have a project where I use Laravel version 8.12. I'm using sanctum for session authentication. When using my API service, I can log in to my local server without any errors and verify Bearer with the token I produce. However, when I upload the same codes to a server with the same features, I get { "message": "Unauthenticated"} error. I need help on this.
Please or to participate in this conversation.