haiwen / seadroid

Android client for Seafile
Other
540 stars 277 forks source link

Fix "disallowed_useragent" Error when using Google OAUTH2 SSO #998

Closed sahilph closed 6 months ago

sahilph commented 7 months ago

This PR is very similar to haiwen/seafile-iOS#356 which would fix Error 403: disallowed_useragent when using Google OAUTH2 for Single Sign-On.

The system's user-agent is used before requesting the page which solves this problem.

This also fixes #783.

sahilph commented 6 months ago

Tagging the maintainers for review @zhwanng @freeplant