Browser-based login does not work
Detailed description
When I return from browser-based OAuth, the domain, clientId, and clientSecret variables are all blank (never persisted to storage), and authentication fails with "An unidentified authorization error occurred.".
Steps to reproduce the problem
No response
Debug information
Tusky Test 26.0-0f3dd64c Google Pixel 6 Android version: 14 SDK version: 34
The account is on my own server software, which implements the right API contract for returning an OAuth code to Tusky (verified with a debugger).
Hi, have you also tried the "Login with Browser" item from the three-dots menu on the login screen?
Yes, that's what I meant with "Browser-based OAuth".
Ok, but then it does work with the default embedded webview?
No; using the embedded webview on my server shows the following (which is correct, it requires Basic auth and, sometimes, webauthn):
And using the browser lets me log in, but returns "An unidentified authorisation error has occurred", which, after running Tusky in a debugger, is caused by the issue I specified in the issue.
In fact, testing with the most recent version of Tusky available in F-Droid (26.0), I cannot even log in to mastodon.social using the browser based flow, as the issue I mentioned isn't caused by any API call.
just tried m.s. with tusky 26 from f-droid and it works. probably the only difference between your setup and mine is WebView
oh sorry you meant browser-flow, missed that
can confirm, browser-based login didn't work for me with m.s.
Could this be the problem? https://github.com/zacharee/MastodonRedirect/issues/25
Having same issue with browser-based login. Same error as per @charlag above. Android 10, version 26.0 of Tusky app.
Same problem here, pixel 8, latest os, tusky 26.1, can’t login to chaos.social.
Any chance this is going to be released in the Google play store soon? At least in the beta channel?
I can't use Tusky until that happens
(Edit: OMG thank you!)