TomY90210
hey, I'm trying to use npm:express-openid-connect@^2.17.1. However, when I try to:
import { auth, ConfigParams, requiresAuth } from "express-openid-connect";
I get the error:
error: Uncaught SyntaxError: The requested module 'express-openid-connect' does not provide an export named 'requiresAuth'
I think this is because of the way this is exported by the library:
https://github.com/auth0/express-openid-connect/blob/master/index.js#L7
(requiresAuth
is one of the values spread into module.exports)1 replies