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

This commit is contained in:
Denis authored and GitHub committed 2022-12-02 21:46:56 -08:00
1 parent e32f2c2257
commit 6354acca85
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ export default async function userProvisioner({
const auth = authentication
? await UserAuthentication.findOne({
where: {
providerId: authentication.providerId,
providerId: "" + authentication.providerId,
},
include: [
{