I’m looking to specify a connection with auth0/express-openid-connect. We currently don’t have a user login screen with options for finding out the domain so we specify 2 different login paths 1 for our customers and 1 for our maintainers.
Passport-auth0 allows for this like so:
app.get(
'/login/google',
passport.authenticate('auth0', {connection: 'google-oauth2'}),
function (req, res) {
res.redirect('/');
}
);
But as far as I can tell the new library doesn’t allow specifying a connection. Can you direct me to that functionality? Thanks!