if OIDC provider gets user_id as integer Postgres failed query (#4527)

This commit is contained in:
Denis
2022-12-03 10:46:56 +05:00
committed by GitHub
parent e32f2c2257
commit 6354acca85

View File

@@ -60,7 +60,7 @@ export default async function userProvisioner({
const auth = authentication const auth = authentication
? await UserAuthentication.findOne({ ? await UserAuthentication.findOne({
where: { where: {
providerId: authentication.providerId, providerId: "" + authentication.providerId,
}, },
include: [ include: [
{ {