seafile-client icon indicating copy to clipboard operation
seafile-client copied to clipboard

SSO Issue with Office 365

Open andres-asm opened this issue 5 years ago • 9 comments

https://forum.seafile.com/t/problems-with-sso-and-office-365/10801/2

I’m having an issue with the desktop client and SSO. When I login thru a web browser with SSO I am redirected to this page:

image

But when I login via the client, I enter my seafile server URL and then what I get is this:

image

The view doesn’t render properly and as a result users can’t login. I copied the URL to a browser (another one just to test) and it worked fine, so it’s something with the web view.

How can we address this?

andres-asm avatar Jan 07 '20 20:01 andres-asm

Update: it works fine on android:

image

andres-asm avatar Jan 07 '20 20:01 andres-asm

@killing sorry to bother you, do you think this can be worked around? or should I switch to local users?

andres-asm avatar Jan 07 '20 20:01 andres-asm

I suggest you to switch to local users.

freeplant avatar Jan 08 '20 08:01 freeplant

Gee that sucks honestly. https://seafile.gitbook.io/seafile-server-manual/deploying-seafile-under-linux/oauth-authentication

The implementation works fine in the web client and seadroid. There should be a way to fix this.

andres-asm avatar Jan 08 '20 14:01 andres-asm

This is so discouraging...

andres-asm avatar Jan 27 '20 23:01 andres-asm

Yeah we are having the same issue. Looks like the internal browser of the client (and seadrive-client) does not react to the redirection to the actual login-page.

HolySephi avatar Mar 24 '20 17:03 HolySephi

fixed in client version 8 (currently beta)

HolySephi avatar Mar 24 '21 09:03 HolySephi

A similar issue persists, Webauthn is still not supported.

The client shouldn't try and host its own browser. It should forward to the OS default browser and then set the redirect URI to a localhost server where the client is listening for the response. That way, the client doesn't have to maintain all the standards current browsers support for authentication and JavaScript.

NicolaiSchmid avatar Jun 05 '21 11:06 NicolaiSchmid

@NicolaiSchmid Thank you for your suggestion. We'll consider about it.

killing avatar Jun 23 '21 09:06 killing