Login a user without a password

I’m attempting to get a custom SSO solution working and I’d like to login a user without a password. I’ll be using a custom header and if the custom header is present (email) and the email is in the user collection, they should be allowed in. I already have the create user / update user ready (to add login tokens, etc). The user has been created and verified. If I attempt to use Accounts.registerLoginHandler() it doesn’t seem to get called?.

How do I “login” / create a new user session without a password?

This package might help:

1 Like