fix(apple): don't run auth middleware during redirect

This commit is contained in:
Kalista Payne
2025-08-08 13:36:19 -05:00
parent dad1440138
commit 3078af8f2a

View File

@@ -151,9 +151,7 @@ api.loginSocial = {
// Called by apple for web authentication.
api.redirectApple = {
method: 'POST',
middlewares: [authWithHeaders({
optional: true,
})],
middlewares: [],
url: '/user/auth/apple',
async handler (req, res) {
if (req.body.id_token) {