Madek / Madek

Madek is a web-based archive for sharing and cataloging images, video, audio and documents.
http://madek.zhdk.ch
GNU General Public License v3.0
9 stars 1 forks source link

Shibboleth login does not pass through `lang` parameter #99

Closed eins78 closed 5 years ago

eins78 commented 6 years ago

steps:

I am logged out I switch the language English (a non-default language) I log in using Shibboleth / Switch AAI FAIL: The language is default language again EXPECTED: The language is English as previously.

Solution: Add lang param with current value to return_to(?) param of the Shibboleth login, if possible. Ask @DrTom for Shib questions.

Note: it does work as expected for the "ZHdK AGW" login, as the complete current URL including all parameters is always passed through return_to

nadjaweisskopf commented 5 years ago

@michalpodlecki check documentation and try to find parameter. If you have any questions, please ask @DrTom

nadjaweisskopf commented 5 years ago

@phoettli HSLU informieren, sobald bereit zum Testen.

eins78 commented 5 years ago

It works and is (controller-) tested. We already give a target url to Switch AAI, it was just a matter of dynamically adding the language parameter. Needed config changes, which only affected HSLU instance. @DrTom FYI ☝️

Because it only works on prod and staging instances, it can only be tested/demo'd again when a RC for the next released is deployed there. Otherwise needs manual deploy or see GIF below:

switch-aai-lang-param mov

phoettli commented 5 years ago

@eins78 wie können wir das testen in Luzern?

eins78 commented 5 years ago

@phoettli auf deren staging: https://i-portfoliodb.hslu.ch/

phoettli commented 5 years ago

HSLU schreibt Habe es gemäss deinen Schritten getestet. Die Einstellung bleibt englisch.