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

Call to undefined method Vizir\KeycloakWebGuard\Auth\Guard\KeycloakWebGuard::loginUsingId() #93

Open
alaincheng opened this issue Jan 11, 2023 · 2 comments

Comments

@alaincheng
Copy link

Hey

I'm using keycloak for authentication as replacement of my old login.

I'm trying to use this function
Auth::loginUsingId($user->id, true);

But i got the following error.
Call to undefined method Vizir\KeycloakWebGuard\Auth\Guard\KeycloakWebGuard::loginUsingId()
Any way I can achieve this with keycloak?

@mariovalney
Copy link
Owner

Hi. This method do not exist.
You should redirect user to Keycloak login page.

@alaincheng
Copy link
Author

Well, i'm trying to impersonate a specific user as a "admin/root" user.

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

No branches or pull requests

2 participants