Closed ItsNash0 closed 3 months ago
Hey @ItsNash0! We're sorry to hear that you've hit this issue. 💙
However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?
We need a public GitHub repository which contains a Laravel app with the minimal amount of Socialstream code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.
I found the reason to be the middleware or controller for the socialstream oauth is conflicting with other middlewares or auth logic, I cannot pinpoint it, but this worked: https://v2.filamentphp.com/tricks/redirect-in-case-canaccessfilament-fails
Stack
Filament Admin Panel
Package Version
v6.1.5
Laravel Version
v11.21.0
Livewire Version
v3.5.6
react Version
No response
Vue Version
No response
PHP Version
PHP 2.9
Problem description
every user when logging in through socialstream to access jetstream /dashboard, gets redirected to /admin, this does not happen if the user logs in with user/pass, only with socialstream
Expected behavior
I expect the redirect to go to the route I was trying to access, /dashboard in this case, not /admin which is where my filament panel is located
Steps to reproduce
just use filament and socialstream on last versions and it will not work
Reproduction repository
--- no time right now ---
Relevant log output
No response