Client: OSX Desktop Client fails to work with Google SAML SSO

Created on 7 Dec 2017  路  3Comments  路  Source: owncloud/client

Expected behaviour

After installing the OSX desktop client, you enter the next-cloud server address. The server is configured using Google's SSO via SAML. The Desktop client should open sort of a web-view showing the Google sign-in page.

Actual behaviour

Instead of showing the Google sign-in page, it asks for the username/app-password combination. After setting up an app-password in the web-client (using google sign-in), and then entering that created app password in the OSX client, it shows an error (see screenshot).
-- It does work as intended with the google-login using the Linux and the Windows client. Only the OSX client seems to have a problem.

Steps to reproduce

  1. Set up next-cloud server (Ubuntu 16.04 + snap package + letsencrypt)
  2. Set up the next-cloud server as a SAML app in the google-admin and activate the SAML plugin in the nextcloud-server and configure it accordingly with the google details (https://help.nextcloud.com/t/google-as-a-saml-provider/5126/6)
  3. Install the nextcloud desktop client on OSX
  4. Start the client and enter the URL to the server
  5. The desktop-client will ask for an app-password instead of opening a google singn-in view
  6. Click on the "click here" link to set up an app password through the browser
  7. Do so using the browser
  8. Copy the app password (and username) into the desktop client
  9. Click "Next"
  10. The error (as seen on the screenshot) apprears

Server configuration

Operating system: Ubuntu 16.04 + NextCloud Snap Package

Web server: Apache

Database: mysql

PHP version: 7.0

ownCloud version: NextCloud 11

Storage backend (external storage):

Client configuration

Client version: 2.3.3 build 84

Operating system: macOS Sierra 10.12.6

OS language: English

Installation path of client: /Applications/nextcloud.app

Logs

screen shot 2017-12-06 at 12 22 03

  1. Client logfile:
    https://pastebin.com/BuxZhZ9p

  2. Web server error log:

  3. empty -

  4. Server logfile: ownCloud log (data/owncloud.log):

  5. also empty -
macOS

Most helpful comment

@ogoffart Doesn't that mean it would work fine with the ownCloud client?
If yes @ymakhloufi can just download that one -> https://owncloud.org/changelog/desktop/

All 3 comments

The OSX nextcloud client is build without shibboleth support:

https://github.com/nextcloud/client_theming/blob/master/osx/build.sh#L31

The build line has -DNO_SHIBBOLETH=1

Please report the bug to nextcloud.

@ogoffart Doesn't that mean it would work fine with the ownCloud client?
If yes @ymakhloufi can just download that one -> https://owncloud.org/changelog/desktop/

the owncloud-client works, thanks for the hint.

Was this page helpful?
0 / 5 - 0 ratings