marunjar / anewjkuapp

GNU General Public License v3.0
16 stars 4 forks source link

Fix auth to use new saml auth #158

Closed rnbwdsh closed 3 years ago

rnbwdsh commented 3 years ago

Uses forward from https://www.kusss.jku.at/Shibboleth.sso/Login -> https://shibboleth.im.jku.at/idp/profile/SAML2/Redirect/SSO?execution=e1s1 -> POST RelayState + SAMLResponse back to KUSSS.

In the background, a 2nd shiboleth cookie in addition to the JSESSIONID is set, but the code handles this already.

Also, logout now is simply deleting the cookies, there is no more built in logout functionality in KUSSS, so the logged in detection had to be adapted.