diff --git a/src/utils/getAccessToken.ts b/src/utils/getAccessToken.ts index 21af539..6065189 100644 --- a/src/utils/getAccessToken.ts +++ b/src/utils/getAccessToken.ts @@ -14,7 +14,7 @@ export const getAccessToken = async ( if (!token || typeof token !== "string") { if (config.isDebugMode) { - console.error("getAccessToken: invalid token or token is missing"); + console.warn("getAccessToken: invalid token or token is missing (are you logged in?)"); } return null; } diff --git a/src/utils/getIdToken.ts b/src/utils/getIdToken.ts index a7f893c..ff5e15d 100644 --- a/src/utils/getIdToken.ts +++ b/src/utils/getIdToken.ts @@ -12,7 +12,7 @@ export const getIdToken = async (req: NextApiRequest, res?: NextApiResponse) => if (!token || typeof token !== "string") { if (config.isDebugMode) { - console.error("getIdToken: invalid token or token is missing"); + console.warn("getIdToken: invalid token or token is missing (are you logged in?)"); } return null; }