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?
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?