Code Monkey home page Code Monkey logo

Comments (8)

fabr2004 avatar fabr2004 commented on June 3, 2024 1

@gabediazm
I'm also facing this issue, but I'm getting a 401 error at console that I think is preventing the validation.
Can you please check if you are getting any console error?

In my case, when I choose "Enforce User Identity Validation" I start to receive the error at console (below).

PATCH https://contoso.com/api/v1/widget/contact/set_user?website_token=xxx&cw_conversation=xxx 401 (Unauthorized)

from chatwoot.

fabr2004 avatar fabr2004 commented on June 3, 2024 1

@fabr2004 Im using v3.8.0 | Build 85aeaf2aee0a3d3acf7c806f12c2db81d6b5110f

There is a newer version, 3.9.0, but this issue does also occur at this newer version (I'm currently using it, build f7580f864c837a0e5efa39fe3696e7a224327e11).

from chatwoot.

linear avatar linear commented on June 3, 2024

PR-1096 User Identity Validation isn’t filtering out the unverified users/messages as expected

from chatwoot.

gabediazm avatar gabediazm commented on June 3, 2024

@fabr2004 Tested and not getting any error in console:

image

from chatwoot.

fabr2004 avatar fabr2004 commented on June 3, 2024

@gabediazm
I have solved my 401 error and now I can confirm the same behavior you described.
I'm receiving messages from both verified and unverified sessions, even though I have "Enforce User Identity Validation = true" at this inbox configuration.

from chatwoot.

fabr2004 avatar fabr2004 commented on June 3, 2024

@gabediazm
Please add required details, like Chatwoot version you're running.

from chatwoot.

gabediazm avatar gabediazm commented on June 3, 2024

@fabr2004 Im using v3.8.0 | Build 85aeaf2aee0a3d3acf7c806f12c2db81d6b5110f

from chatwoot.

sojan-official avatar sojan-official commented on June 3, 2024

The current behavior of enforced identity validation is over the setUser call alone. When mandatory HMAC is enabled, user attributes can’t be set from the frontend without the HMAC token.

The recommendation is not to include the Chatwoot widget JavaScript on non-authenticated pages if you want to avoid the chats. We will look into making this configurable.

from chatwoot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.