From cfa08286de47050277181d467f3f0a04a54ee8d5 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 8 Aug 2024 10:51:12 +0200 Subject: [PATCH] authProvider.redirect is async --- packages/api/src/auth/authProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/auth/authProvider.js b/packages/api/src/auth/authProvider.js index 1b01a1d9..ca20c45d 100644 --- a/packages/api/src/auth/authProvider.js +++ b/packages/api/src/auth/authProvider.js @@ -58,7 +58,7 @@ class AuthProviderBase { }; } - redirect({ state }) { + async redirect({ state }) { return { status: 'error', };