This commit is contained in:
2022-08-27 08:14:10 -05:00
parent f65ae56f74
commit 696ca6a393
9 changed files with 101 additions and 77 deletions

View File

@@ -1,8 +1,7 @@
import auth0 from "../../../lib/auth0";
import { withErrorHandling } from "../../../lib/apiHelpers";
const callback = withErrorHandling(async (req, res) => {
const callback = async (req, res) => {
await auth0.handleCallback(req, res);
});
};
export default callback;