If we get error as Auth private key does not exist on the browser when we run any laravel project .
Something similar to
![](https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-2-1024x576.png)
Then we just need to install the passport and do the changes to the places where needed.
Command to install Passport:
php artisan passport:install
Soon after the passport is install we will get the following things:
- Client id
- Client secret
![](https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-3-1024x576.png)
We need to put client id in the in env files where required.
Somewhat similar to given below:
![](https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-4-edited.png)
We need to change the client id and client secret to all the places where the concern configuration are used.
Few important links for reference :
- Setup laravel project and understand folder structure click here.
- Crud operation and detailed explaination. click here.
Latest posts by abhishek k (see all)