Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't configure SSO authentication #109

Closed
Miceldars opened this issue May 16, 2017 · 4 comments
Closed

Can't configure SSO authentication #109

Miceldars opened this issue May 16, 2017 · 4 comments

Comments

@Miceldars
Copy link

Hello.

Using a fresh install of nextcloud 11.0.2, I tried to use user_saml to configure SSO authentication.
But when I click on "Use environment variable" in Admin --> SSO & SAML authentication, it just reload the exact same page. Same thing with "Use built-in SAML authentication", it shows the same page, nothing more. There is no form to configure SAML authentication or use environment variable.

There is nothing in the nextcloud.log

Server : centos 7
Nextcloud version : 11.0.2 (same problem with 11.0.0 and 11.0.1)

@mokas01
Copy link

mokas01 commented May 24, 2017

i have the same issue

Server : armbian jessie 8.8
nextcloud version : 11.0.2

@jh23453
Copy link

jh23453 commented Jun 6, 2017

I had the same problem - I got it working with the following additions:

mysql> select * from oc_appconfig where appid='user_saml';
+-----------+-------------------------------------+----------------------+
| appid     | configkey                           | configvalue          |
+-----------+-------------------------------------+----------------------+
| user_saml | enabled                             | yes                  |
| user_saml | general-require_provisioned_account | 1                    |
| user_saml | general-uid_mapping                 | REMOTE_USER          |
| user_saml | installed_version                   | 1.3.2                |
| user_saml | type                                | environment-variable |
| user_saml | types                               | authentication       |
+-----------+-------------------------------------+----------------------+

After that I could also change to config in the WebUI. There seems to be a problem
with the app-installation.

There's another catch, you need to change the location from /nextcloud/index.php/login to:

<Location /nextcloud/index.php/apps/user_saml/saml/login>
    SSLRequireSSL
    AuthType Kerberos
...

I'm not sure if I find time to try a clean installation to see where it fails (I started with 12beta).

@marcelin
Copy link

Hi everyone!!!

I've tried all ur configuration but SSO does't work. I'm using Nextcloud with "LDAP user and group backend" and "SSO & SAML authentication" enabled. i'm using windows server 2012 as LDAP auth service. My web sever is apache2

Please I need Help.

@kundansingh27feb
Copy link

kundansingh27feb commented Jan 4, 2018

Can anyone help me to resolve the IDP issue in nextcloud. I am getting the below screen while login:

error

http://idp.ers...com its my own IDP url. The same url i am using for other things also and its working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants