haiwen / seafile-client

Seafile desktop client.
http://seafile.com
Apache License 2.0
469 stars 281 forks source link

Modify SSO Browser User Agent? #1477

Open adamboutcher opened 1 year ago

adamboutcher commented 1 year ago

Hi,

We use Keycloak with P.IDEA to provide SSO, however the built in browser for Seafile client doesn't work with the OTP request page. I was wondering if you could modify the User Agent of the built-in browser to include the name Seafile, so we can filter out those requests?

adamboutcher commented 1 year ago

I'm not sure what to change but it would be in the seafile-client/src/shib file.

For refernce this is my User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.12 Chrome/87.0.4280.144 Safari/537.36