I have created a Laravel Application and included passport for authentication. The application is working fine on my local system.
But when I have deployed the application on the shared hosting platform I am facing issue where I am getting error 401 Unauthorised on the request I am passing to the server.
Though, the login API is working fine and generating access token. I am facing difficulty to find out the reason for it.
Could anyone help me out to resolve this issue?