[bug] Error "Target class [App\Actions\Socialstream\GenerateRedirectForProvider] does not exist." on fresh install
CamKem opened this issue · comments
Describe the bug
I did a fresh install yesterday to try out the Laravel 10 integration and ran into an error.
"Target class [App\Actions\Socialstream\GenerateRedirectForProvider] does not exist."
To Reproduce
Steps to reproduce the behavior:
- Install new Laravel 10 application
- composer require joelbutcher/socialstream
- php artisan socialstream:install --stack=inertia
- set up database to match the .env config.
- php artisan migrate
- npm install && npm run dev
- set up github config details in services.php
- view in the browser
- navigate to register, click github
- See Error.
Expected behavior
I have never seen any reference to a class GenerateRedirectForProvider, I did a search all files in the project for it & didn't have any hits. I expected the
Screenshots
Here is a share of the laravel error page - "https://flareapp.io/share/LPdN0BQ5#F65"
Environment context
- Socialstream version: 4.1 - the default version installed with composer.
- Jetstream stack: Inertia / Livewire
- Laravel version: 10.2.0
- PHP version: 8.2.1
@CamKem fixed in 4.1.1
@joelbutcher I just gave it a try - did a fresh install, fresh github Oauth app, installed the inertia stack. Then set up the config as per instruction. When I do load up vite, open the site in the browser & try to register with github I get this error.
Client error: `GET https://api.github.com/user` resulted in a `401 Unauthorized` response: {"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}
Here is a share of the full error
Please help my diagnose what is wrong here, I am unaware of how to fix this.
Also, I set up a Tip to go to you of my monthly BAT crypto from using Brave - figure you put in the effort to make this product, so I would like to support this. However it says you have not signed up to receive tips yet - you can read how to here: (https://brave.com/faq/#unclaimed-funds) - Plus I have also sponsored $5 per month directly with Github. I hope even a little bit extra helps.