geteduroam / mobile-app

Next-gen mobile app for geteduroam
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

GETEDUROAM-70: WebView fallback, when there is no browser to handle auth #90

Closed dzolnai closed 5 months ago

dzolnai commented 5 months ago

We had some cases where users had no browser to handle the auth request. One example was a device without Chrome, but with Edge installed. With this PR we add an extra screen, which is a fallback to a WebView. Here we detect the redirect, and trigger the same AppAuth flow, so there's no need to write the same code for comparing states, validating and parsing OAuth responses.