nextcloud / user_saml

:lock: App for authenticating Nextcloud users using SAML https://apps.nextcloud.com/apps/user_saml
https://portal.nextcloud.com/article/configuring-single-sign-on-10.html
GNU Affero General Public License v3.0
95 stars 74 forks source link

User SAMl Goes Nowhere After Login via SAML #399

Open ZaxLofful opened 4 years ago

ZaxLofful commented 4 years ago

Steps to reproduce

  1. Setup NextCloud with JumpCloud User SAML
  2. Login to JumpCloud
  3. Click on NextCloud icon to launch Nextcloud

Expected behaviour

It should go to NextCloud and login to the user JumpCloud is specifying.

Actual behaviour

It goes to https://[domainname]/apps/user_saml/saml/acs Instead of reidrecting to NextCloud and showing me the files, it just sits at the page mentioned with a response of "null". It should redirect to the files page, and it does when I initiate the login from NextCloud->JumpCloud, but not JumpCloud->NextCloud

Server configuration

Operating system: docker container

Web server: Apache

Database: MariaDB (docker)

PHP version:

Nextcloud version: 18.0.0

Where did you install Nextcloud from: Docker official image

Client configuration

Browser: FireFox Latest

Operating system: Windows

zarko-a commented 4 years ago

Bump...

Did anyone find a solution to this problem?

Same issue with any browser.

manuelschneider commented 4 years ago

Same here after upgrading to nextcloud19. Seems to be an issue with the AuthNRequestId, this "helps": https://help.nextcloud.com/t/idp-iniatied-saml-logging-null-webpage-text-while-sp-initiated-works-fine/68116/8

With v18.0.4 everything worked! user_saml plugin version is the same (3.0.1).

zarko-a commented 4 years ago

Thanks @manuelschneider , unfortunately this did not work for me, after commenting out that line I got user not provision error.