import auth0 from "../../lib/auth0"; import { withErrorHandling } from "../../lib/apiHelpers"; export default login = withErrorHandling(async (req, res) => { await auth0.handleLogin(req, res); });