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

Broken login in Chrome #12

Open
v1adko opened this issue Jan 11, 2019 · 11 comments
Open

Broken login in Chrome #12

v1adko opened this issue Jan 11, 2019 · 11 comments

Comments

@v1adko
Copy link

v1adko commented Jan 11, 2019

Can't login (and thus can't submit an entry).
After authenticating the Telegram account nothing is happening.

OS: MacOS Mojave 10.14
Browser: Chrome - Version 71.0.3578.98 (Official Build) (64-bit)

Bot is authenticated:

Issue demo:
ezgif-2-350f96e51feb

@poeti8
Copy link
Member

poeti8 commented Jan 11, 2019

Can you try with a different browser?

@v1adko
Copy link
Author

v1adko commented Jan 11, 2019

Incognito in Chrome does not solve the issue, so we can rule out extension interference.
Safari Version 12.0 (14606.1.36.1.9) Works
Opera Developer (Version:59.0.3192.0) Works

All of the browsers are the latest versions available right now.

@v1adko v1adko changed the title Broken login Broken login in Chrome Jan 11, 2019
@poeti8
Copy link
Member

poeti8 commented Jan 11, 2019

So it does work on Safari and Opera but not on the latest version of Chrome? I'll try to reproduce.

@poeti8
Copy link
Member

poeti8 commented Jan 11, 2019

Works for me with the latest version of chrome. I'm not sure how can I debug or reproduce this problem, try clearing cache maybe.

@v1adko
Copy link
Author

v1adko commented Jan 11, 2019

Isn't incognito is the same as having fresh cache?
Telegram auth cookies are set correctly, however UI ignores the aouth callback.

@poeti8
Copy link
Member

poeti8 commented Jan 11, 2019

Can you inspect Chrome's network tab and see what the request to Telegram server and then tgdr server returns.

image

@v1adko
Copy link
Author

v1adko commented Jan 11, 2019

error: "NOT_AUTHORIZED"
html: "<button class="btn tgme_widget_login_button" onclick="return TWidgetLogin.auth();"><i class="tgme_widget_login_button_icon"></i>Log in with Telegram</button>"
origin: "https://tgdr.io"

@poeti8
Copy link
Member

poeti8 commented Jan 11, 2019

Hmm maybe you declined the permission to login in the message that was sent by Telegram to you?

@paulcodiny
Copy link

Hello
I have the same issue with my own Telegram login. I tried on your website and the behavior is the same. Do you have any statistics that for you it works? Or can you check your website that it works?
I tried Safari and Chrome and Chrome in incognito (even changed the settings to allow third-party cookies).
However, Firefox worked for me.
My guess would be that it is somehow related to third-party cookies. They are blocked by default in incognito which breaks the Telegram Login behavior

@HXWfromDJTU
Copy link

same issue here

@designervoid
Copy link

solved the problem by enabling third party cookies in safari.
here is a helpful article about it

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

5 participants