if OIDC provider gets user_id as integer Postgres failed query (#4527)
This commit is contained in:
@@ -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: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user