鍍金池/ 問答/PHP/ Laravel:怎么顯示Passport的key?

Laravel:怎么顯示Passport的key?

https://laravel.com/docs/5.7/...

運(yùn)行php artisan passport:keys之后,生成了 client_idclient_secret,但不小心一下命令行窗口給關(guān)了,那用什么命令查看已經(jīng)生成的 client_idclient_secret呢?

回答
編輯回答
貓館

我還用的5.3,看命令介紹,大概率在.env

When deploying Passport to your production servers for the first time, 
you will likely need to run the passport:keys command.
This command generates the encryption keys Passport needs in order to generate access token. 
The generated keys are not typically kept in source control
2018年9月7日 15:54