hello i configured nextcloud to using sso with AD, using apache its working only with not with using user_saml addon
examples
<Directory “/var/www/html/nextcloud”>
AllowOverride All
AuthType GSSAPI
AuthName “GSSAPI Single Sign On Login”
GssapiAllowedMech krb5
GssapiLocalName On
GssapiCredStore keytab:/etc/httpd/nextcloud.keytab
GssapiUseSessions On
GssapiNegotiateOnce On
Require valid-user
its working
but
<Location “index.php/apps/user_saml/saml/login”>
AuthType GSSAPI
AuthName “GSSAPI Single Sign On Login”
GssapiAllowedMech krb5
GssapiLocalName On
GssapiCredStore keytab:/etc/httpd/nextcloud.keytab
GssapiUseSessions On
GssapiNegotiateOnce On
Require valid-user
giving me errors:
InvalidArgumentExceptionNo valid UID given, please check your attribute mapping.
|Given UID is not valid, please check your attribute mapping|
also when i trying to login using link
myurl/index.php/login?direct=1
i have promp with login and password and when i typing them i have “Unathorized” error
i think if config with location worked i can login outsitde of domain, but its not. any ideas please?