Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid key supplied #747

Open
altalya opened this issue Feb 17, 2024 · 2 comments
Open

Invalid key supplied #747

altalya opened this issue Feb 17, 2024 · 2 comments

Comments

@altalya
Copy link

altalya commented Feb 17, 2024

Apiato Version

12

PHP Version

8.2

Database Driver & Version

10.6.16-MariaDB-0ubuntu0.22.04.1

Description

As per the installation doc, I've created the app and started laravel server with
php artisan serve

But it throws below error even though I've regenerated keys, cleared all caches.
Invalid key supplied
image

`Invalid key supplied (View: example-app/app/Containers/AppSection/Authentication/UI/WEB/Views/home.blade.php) vendor/league/oauth2-server/src/CryptKey.php#67

Invalid key supplied
vendor/league/oauth2-server/src/CryptKey.php#67`

Steps To Reproduce

  1. Install the packages via composer
  2. Configure database
  3. Run DB Migrate & seeders
  4. Regenerate keys and clear cache
  5. Run localserver via artisan serve command
@m0nclous
Copy link

php artisan passport:install helped me

@polarikus
Copy link
Contributor

I think this is more a request to add documentation, I also solve it with the php artisan passport:install command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants