gpt4 book ai didi

Laravel Passport Key 路径 oauth-public.key 不存在或不可读

转载 作者:行者123 更新时间:2023-12-03 08:45:16 25 4
gpt4 key购买 nike

Laravel 护照在尝试访问资源时显示此内容

Key path "file://C:\xampp\htdocs\rental_5.0\storage\oauth-public.key" does not exist or is not readable

最佳答案

你没有提到你的安装步骤。假设您执行了以下操作:

composer require laravel/passport

config/app.php 内注册服务提供商

Laravel\Passport\PassportServiceProvider::class,

运行迁移

php artisan migrate

最后使用生成 key

php artisan passport:install

我看到你正在 Windows 上尝试它。我看到一个 OpenSSL problem on Windows ,或许能帮到你。

关于Laravel Passport Key 路径 oauth-public.key 不存在或不可读,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39414956/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com