To log a user into a different domain or run as a specific user, follow these steps:

1. Create a custom event that generates a magic link using the current user's email.
2. Utilize the Coalius plugin to modify the magic link's domain to the desired white-label domain.
3. Redirect the user to the new link to log them in.

This workflow provides flexibility in managing user logins across different domains. You can find a example on this page and you can look at the green event inside the editor.

Tutorial