Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incoming message user_id and conversation_id are changing with every request from the same thread #126

Open
dkctc-tn opened this issue Nov 5, 2024 · 0 comments

Comments

@dkctc-tn
Copy link

dkctc-tn commented Nov 5, 2024

I use a basic access authentication system on my endpoint using 32 character access codes that are matched first to the user_id and the conversation_id in a db table when a message is received, and if those are not there, then it is a new conversation that needs to be authenticated with an access code.

Now that those values change on every request, I can no longer authenticate without pulling their authentication code out of the message history and checking it every time, and I can no longer track or lock access for access codes to specific users. I can extract potentially matching access codes out of the message history every time, sure, but what good are the user_id and conversation_id if they do not remain consistent between messages?

Is there a solution that allows us to keep track of users and conversations with unique IDs like what we previously had?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant