andreasergenzinger / user_shibboleth Goto Github PK
View Code? Open in Web Editor NEWownCloud authentication app relying on the Shibboleth Service Provider
ownCloud authentication app relying on the Shibboleth Service Provider
Hi all,
By defaut, user_shibboleth search for fix attributes, ie he looks for persistent-id, mail and Shib-Identity-Provider.
In my identity federation, attributes names are diffrents. so, i need can map user_shibboleth attributes with real attributes.
Moreover, if the owncloud server are behind a reverse proxy, all attributes are prefixed with HTTP_ cause of ShibUseHeaders directive.
Please add in settings menu, a text box for attributes map and load them in lib/auth.php.
Regards, Gamb.
Hi.
We plan to deploy an oC 6 instance at CNRS, and i would like to know if you still work on this app, and if you plan to support version 6 ?
Thanks in advance.
Best regards.
David.
Hi all,
I had used user_saml for OC4.5 with a simplesamlphp SP, but doesn't work with OC5.
I try our user_shibboleth with a Shibboleth SP, i have several fatal errors in OC5 after auth at first user's login. I have a blanck page after login on user_shibboleth/login.php and in owncloud log i can see :
{"app":"PHP","message":"opendir(/data/owncloud/ec687ba39b1d1ed51d605089ae5d2a2bd32a03ed050a8d1dcbf3991d9fefxxxx/cache/): failed to open dir: No such file or directory at /var/www/owncloud/lib/files/storage/local.php#40","level":2,"time":1370266793}
{"app":"PHP","message":"readdir() expects parameter 1 to be resource, boolean given at /var/www/owncloud/lib/cache/file.php#88","level":2,"time":1370266793}
The folder /data/owncloud is writable for apache users and mkdir command in a shell work fine with this folder name.
mkdir /data/owncloud/ec687ba39b1d1ed51d605089ae5d2a2bd32a03ed050a8d1dcbf3991d9fefxxxx
My local conf :
Apache location in vhost spécific conf :
Order allow,deny
Allow from all
# Auth Shibb
AuthType shibboleth
ShibRequestSetting requireSession 0
ShibRequestSetting applicationId partage
Require shibboleth
ShibUseHeaders On
</Location>
(note: my owncloud is behind a reverse proxy and i map requested attributes)
And user_shibboleth conf :
Sessions HandlerURL: /Shibboleth.sso/Login?target=https://mydomain/apps/user_shibboleth/login.php
SessionInitiator Location: /
Federation Name: Fédération Education-Recherche
Quota: 2GB
Enforce Domain Similarity uncheck
Link to LDAP Backend uncheck
Do you have some hints about failed directory creation ?
Regards, Gamb.
Hello,
This text from readme file
While you have the shibboleth2.xml file open, write down the values of both the handlerURL attribute of the Sessions node and the Location attribute of the SessionInitiator node, as these must be specified on the app's settings menu.
Where I can find app settings menu?
(first time on GitHub, please excuse n00b mistakes!)
Downloaded the user_shibboleth app today (11.04.2013) as I've been trying out OwnCloud and wanted to see if Shib integration was possible/easy.
When I try enabling the app, I get the infamous "Error while enabling app".
In owncloud.log I get the following entries:
{"app":"PHP","message":"Invalid argument supplied for foreach() at /var/www/html/owncloud/lib/installer.php#415","level":2,"time":1365686393}
{"app":"PHP","message":"Invalid argument supplied for foreach() at /var/www/html/owncloud/lib/installer.php#418","level":2,"time":1365686393}
{"app":"PHP","message":"SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'appid' cannot be null at /var/www/html/owncloud/lib/db.php#965","level":4,"time":1365686393}
It's not liking the $info['remote'] & $info['public'] params it's being passed (which doesn't mean much to me really!)
Any ideas what could be the problem?
Thank you very much for the app, I look forward to testing it!
When using the Chromium web browser checking checkboxes of the settings template and clicking save does not save the checked state. Unchecking works.
Things work fine in Firefox.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.