From 6354acca85a2db0c9b052d5556e7ae8a692d5a4e Mon Sep 17 00:00:00 2001 From: Denis Date: Sat, 3 Dec 2022 10:46:56 +0500 Subject: [PATCH] if OIDC provider gets user_id as integer Postgres failed query (#4527) --- server/commands/userProvisioner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/commands/userProvisioner.ts b/server/commands/userProvisioner.ts index a4bd3c4e7..230395bd1 100644 --- a/server/commands/userProvisioner.ts +++ b/server/commands/userProvisioner.ts @@ -60,7 +60,7 @@ export default async function userProvisioner({ const auth = authentication ? await UserAuthentication.findOne({ where: { - providerId: authentication.providerId, + providerId: "" + authentication.providerId, }, include: [ {