SSO Login (how to get values from request Header)

I’m working on an app that requires obtaining a request header value to login the user automatically.
I noticed a post from 3 years ago (unanswered) and also know Meteor has changed leaps and bounds since then.

How would I handle this in Meteor?

You might want to look at package… specifically main_server.js.

If you’re trying to log the user in, I think you’ll need to create an accounts package unless you can adapt this one. This package, for logging a user in viva CAS SSO, might get you on the right path. This SSO package will create the Meteor user document if it doesn’t exist which is what you’ll need to do, I believe.

1 Like