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

How do I remember the user after calling admin()->logInAsUserById? #287

Open
scifinder opened this issue Jun 23, 2023 · 1 comment
Open

Comments

@scifinder
Copy link

Hello! I had email and password authentication on my site using your library. Now I have connected an external authentication service (Mobile ID). After all the checks, the external service tells me that the user is successfully authenticated. But I need to pair with my existing system. Therefore, after receiving a signal from an external service, I call admin()->logInAsUserById. This system works well, except that the user is not saved in cookies. How do I remember the user after authentication?

@nabeelalihashmi
Copy link

Did you find the solution?

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