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

Redirect not working always go to /admin #369

Closed
ItsNash0 opened this issue Aug 24, 2024 · 2 comments
Closed

Redirect not working always go to /admin #369

ItsNash0 opened this issue Aug 24, 2024 · 2 comments
Labels
bug Something isn't working needs more info

Comments

@ItsNash0
Copy link

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

@ItsNash0 ItsNash0 added the bug Something isn't working label Aug 24, 2024
Copy link

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.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2024
@ItsNash0
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs more info
Projects
None yet
Development

No branches or pull requests

1 participant