Where can I find passport keys in Laravel?

I generated the keys using the Laravel command php artisan passport:keys, but I don’t know where I can find it.

+6
source share
2 answers

When reading the source code, I find that it gets its way from$keyPath . Which can be installed with loadKeysFrom($path). or uses the default location from storage_path(). By default it is storage.

+5
source

The default path is the storage folder .

There are two files with the following names:

oauth-private.key

oauth-public.key

Laravel version: 5.8

0
source

Source: https://habr.com/ru/post/1682226/


All Articles