-
Notifications
You must be signed in to change notification settings - Fork 129
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
Login As User #160
Comments
I need that too! |
@bkilshaw - Thanks for the report here and apologies that I didn't get to your Community thread first. I think the confusion on our end is "impersonation" is something you can do with some identity providers via an API but it's also a core function of Laravel. Just to be clear: you're asking about doing this in Laravel, not against the Auth0 API, correct? I'm fairly certain that this relates to #104. Originally, we created our own user provider but I think the better way to do that it is leverage the core one. If we replace what's there, that will be a breaking change which needs to go out on a major release. That said ... we are working on a major in the |
Yes, doing this directly in the Laravel application is fine, it doesn't need to be against the Auth0 API. We have an admin dashboard that we use, inside the admin dashboard we have an "Impersonate" button, that really just does Any ETA on the 7.0.0 branch being ready for production use? We're very limited in the support we can provide to our users until we regain this functionality. |
We're going to start work on the user model this week, which is the main breaking change we want to get in place before releasing the major. |
Any ETA on 7.0 by any chance? |
@bkilshaw - Apologies for the delay, this is taking longer than we wanted it to. I have time set aside next week to make progress here. |
@bkilshaw - Would you be able to give the https://github.com/auth0/laravel-auth0/tree/change-user-model |
@bkilshaw @guilhermeagirardi - Are you able to try the branch above and see if that fixes your issue? |
Hello @joshcanhelp! It didn't work for me... I'm redirected to the login screen. |
@joshcanhelp sorry it's been a bit crazy, but I have some time to check this out now. Other than pulling in the branch what changes will I need to make to utilize it? |
@joshcanhelp I've pulled in the branch and tried to login using a user with no success
When I hit For reference, my
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️ |
This took a long time to get around to, but I'm still having issues. I've upgraded my app to auth0/login ^6.0 and followed the new "Getting Started" tutorial, which is pretty much identical to the old one, but I'm still unable to login using my Laravel user.
When the app redirects to the dashboard, it detects that I'm not authenticated and redirects me to the Auth0 login page as if I never logged in. |
Would love to see this addressed as well. Our application also relies on Auth::loginUsingId($userid) for supporting our clients. |
Hi guys, any update on this? anyone Got it working? |
Describe the problem you'd like to have solved
Describe the ideal solution
Alternatives and current work-arounds
The text was updated successfully, but these errors were encountered: