9 lines
229 B
JavaScript
9 lines
229 B
JavaScript
import auth0 from "../../../lib/auth0";
|
|
import { withErrorHandling } from "../../../lib/apiHelpers";
|
|
|
|
const callback = withErrorHandling(async (req, res) => {
|
|
await auth0.handleCallback(req, res);
|
|
});
|
|
|
|
export default callback;
|