user_saml icon indicating copy to clipboard operation
user_saml copied to clipboard

User SAMl Goes Nowhere After Login via SAML

Open zaxlofful opened this issue 6 years ago • 3 comments

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

zaxlofful avatar Feb 11 '20 19:02 zaxlofful

Bump...

Did anyone find a solution to this problem?

Same issue with any browser.

zarko-a avatar Jun 10 '20 15:06 zarko-a

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).

manuelschneider avatar Jun 15 '20 10:06 manuelschneider

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

zarko-a avatar Jun 15 '20 16:06 zarko-a