Here's how I fixed it,.
on the server terminal, go to /var/www/yoursnipeitfolder
run
php artisan passport:install
You might get a warning that Encryption key already exists.
Go back to your snipeit web interface and try to generate API key again.
Should be working
I was having problem creating API key in SnipeIT![image](https://user-images.githubusercontent.com/36439190/72789584-42143880-3bf1-11ea-85ab-3532e1d565ed.png)
Here's how I fixed it,. on the server terminal, go to /var/www/yoursnipeitfolder run
php artisan passport:install
You might get a warning that Encryption key already exists. Go back to your snipeit web interface and try to generate API key again. Should be working