Traewelldroid / traewelldroid

Android app for @Traewelling public transport check-in service
https://traewelldroid.de
GNU Affero General Public License v3.0
67 stars 8 forks source link

404 after pressing Autorisieren #348

Closed dogo77 closed 2 months ago

dogo77 commented 2 months ago

Describe the bug Got a new Phone and tried to reactivate Träwelldroid 2.7.2 I see the wellcome screen with the link to »mit träwelling anmelden« click it see the consent website click on the green »autorisieren« button and get a 404 not found website by nginx 1.18.0

Expected behavior be logged in to the app

Smartphone (please complete the following information):

Additional context deleted the old token under https://traewelling.de/settings/security/api-tokens

jheubuch commented 2 months ago

Please use the "Open in app" functionality of your browser after the authorization page (on the Not Found page) to redirect the auth response to Träwelldroid. Some mobile browsers (i.e. Firefox) aren't opening apps on corresponding links by default.

Yes, the 404 page is not the most elegant solution but the "mainstream" user does not occur this. But I'll have a look on creating a page explaining what to do, when the auth response is not redirected to Träwelldroid.

dogo77 commented 2 months ago

Ah, that worked, thank you.