tlkio / feedback

Feedback on tlk.io
3 stars 0 forks source link

Unauthorized Access #12

Open panos-stavrianos opened 4 years ago

panos-stavrianos commented 4 years ago

Hello, thanks for this amazing service. I am trying to add it to my site but i get this error when sending a message

{error: Unauthorized Access}

I am using react. You can see the site here Do you have any suggestions?

antstorm commented 4 years ago

@panos-stavrianos where do you see that error? The site you linked opens up and I don't see any issues

panos-stavrianos commented 4 years ago

I see this error in the development console when i trying to send a message

antstorm commented 4 years ago

Sorry for the delay, which browser are you using? It might be Safari related, which has drastically changed their embedded frame policy

panos-stavrianos commented 4 years ago

The problem persist in all browsers and devices, I make a test site, you can see the problem here Steps to reproduce:

  1. Open development console
  2. Login to chat
  3. Send a message at this point you will see a failed post request
Request URL: http://embed.tlk.io/api/chats/xxxxxxx/messages
Request Method: POST
Status Code: 403 Forbidden

error: "Unauthorized Access"
Offirmo commented 3 years ago

As of today, this is still happening. Trivial usage: https://www.offirmo.net/offirmo-monorepo/3-advanced--browser/iframe--chat/src/single-chat-container.html

Works on Chrome but not on safari.