YunoHost-Apps / pluxml_ynh

PluXml package for YunoHost
http://pluxml.org
GNU General Public License v3.0
9 stars 4 forks source link

[enh] Pass SSO credential even in public mode. #1

Closed opi closed 9 years ago

opi commented 9 years ago

Use unprotected_uris instead of skipped_uris on public mode.

matlink commented 9 years ago

In https://github.com/opi/example_ynh/blob/master/scripts/install there is skipped_uris . What's the difference between those two things ?

opi commented 9 years ago

See https://github.com/kloadut/ssowat Basically, using unprotected_uris allow your app to be public (visible by not-logged people), but for logged-in users, credentials are passed by ssowat, so ldap auth mechanism still work (for yuor pluxml admin user for example)

opi commented 9 years ago

FYI, I've updated example_ynh app (https://github.com/opi/example_ynh/commit/c2a58e149405468536ba5c71fff7e657ecb0199e) to use unprotected_urls