tuskyapp / Tusky

An Android client for the microblogging server Mastodon
https://tusky.app
GNU General Public License v3.0
2.5k stars 390 forks source link

Cannot login with LineageOS 14.1 #515

Closed kit-ty-kate closed 6 years ago

kit-ty-kate commented 6 years ago

I just installed Tusky under LineageOS 14.1 (with GApps pico) and when I try to log in, I enter my instance name, it redirects me to a web browser window to login, I log in, it works fine in the browser but Tusky is not updated so I retype the instance name again, try to login using my login/password, authorize the Tusky app to manage toots on my account and then it redirects me to yet another web page that tells me the url is not supported (oauth something something).

Why is your application opening web pages to log in whereas some other apps such as Mastalab does not and works well for me ?

Tusky version: 1.5.0

remi6397 commented 6 years ago

If you use Gello (the Lineage/Cm default browser), it might be the cause. Could you check with latest Chromium, please?

kit-ty-kate commented 6 years ago

If you use Gello (the Lineage/Cm default browser), it might be the cause.

Yes I do. Why is that ?

Where do I install Chromium ? There is no such app in both f-droid and google app store (there is Google Chrome of course, but: no).

connyduck commented 6 years ago

Yes, this is a known issue with the Lineage default browser. We plan to have a login like Mastalab one day, but since there is a workaround it does not have any priority.

kit-ty-kate commented 6 years ago

That's a bit sad :(

remi6397 commented 6 years ago

Where do I install Chromium ? There is no such app in both f-droid and google app store (there is Google Chrome of course, but: no).

You can download pre-built binaries Here , or build it from source if you don't trust that site. Or download a Chromium updater from F-Droid.

charlag commented 6 years ago

Firefox works too, BTW. Authorization ia hard because there's a case with 2FA and it implementing it takes a lot of time. We would be glad if someone implemented it without browser

nailyk-fr commented 6 years ago

Yes, this is a known issue with the Lineage default browser. We plan to have a login like Mastalab one day, but since there is a workaround it does not have any priority.

Sad! Did you tried to contact them?

@jpdeplaix are you sure your maintainer is using the new browser and not the outdated one (Gello)? The new one should be Chromium IIRC.

kit-ty-kate commented 6 years ago

@nailyk-fr Probably no. My maintainer's device died a month ago anyway so I cannot get any more easy updates.

charlag commented 6 years ago

@kit-ty-kate any updates on this? Does it work in recent versions or it's still broken?

kit-ty-kate commented 6 years ago

@charlag you mean recent versions of Tusky ? I just tried and as expected it doesn't work with the default browser (Gello I suppose) but works once Firefox Klar is installed. So I guess the issue still stands ?

charlag commented 6 years ago

I think that the problem is in Gello, not from our side. We would like to support alternative auth methods in the future but it's not really feasible now.

o-jasper commented 2 years ago

FTR had this issue with DuckDuckGo, but it went away for some reason.