In My AWS ec2 ubuntu server the login is working properly it gives user login token.
I have moved the files to serverless aws apllication with same ec2 mysql database credentials.
All other apis are working without authorization.
The login api gives
“message”: “Invalid key supplied”
$user->createToken(‘laravel’)->accessToken; is not working .