Detect Android OAuth client via User-Agent header
WebView always sends NaviAndroid/1.0 in the HTTP User-Agent, while
navigator.userAgent in JS is unreliable. Backend now detects the
Android platform from the UA header when the ?platform query param is
absent, ensuring the bridge-page flow works regardless of webclient
version.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 5048d62 commit 48fc5ffdc63f1fadf087b28ccb33feb615863f2c
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 9 May
Showing 1 changed file
View
navi/api/routes/auth.py