Logout with CASv2 is not working (Bad URL)
We a CAS service is using CASv2 for logout, we have several issues.
The first is that the template message is not translated:
The second is that when accepting the redirection, we get an error (bad URL). Here is the log on server side:
[info] No cookie found
[debug] Build URL https://auth.openid.club/cas/logout?url=https://test1.openid.club/cas.pl
[debug] Redirect 81.250.130.213 to portal (url was /cas/logout?url=https://test1.openid.club/cas.pl)
[debug] User not authenticated, Try in use, cancel redirection
[debug] Start routing cas
[debug] Unauth request to cas issuer
[debug] Processing _redirect
[debug] Store issuer request
[debug] Try to get a new TOKEN session
[debug] Check session validity -> 700s
[debug] Return TOKEN session 0a7bcd7f14a43c820b58f60e613ad1d6
[debug] Token 0a7bcd7f14a43c820b58f60e613ad1d6 created
[debug] Processing controlUrl
[debug] Confirm parameter accepted 1
[error] Value must be in BASE64 (param: url | value: https://test1.openid.club/cas.pl)
[debug] Returned error: 37
[debug] Skin returned: login
[debug] Calling sendHtml with template login
[debug] Skin bootstrap selected from GET/POST parameter
[debug] Starting HTML generation using /usr/share/lemonldap-ng/portal/templates/bootstrap/login.tpl
[debug] Skin bootstrap selected from GET/POST parameter
[debug] Sending /usr/share/lemonldap-ng/portal/templates/bootstrap/login.tpl
[debug] Required urldc : https://auth.openid.club//cas
[debug] Set CSP form-action with urldc : https://auth.openid.club
[debug] Apply following CSP : default-src 'self';img-src 'self' data:;style-src 'self';font-src 'self';connect-src 'self';script-src 'self';form-action 'self' *.openid.club *.facebook.com *.twitter.com *.renater.com https://auth.openid.club;frame-ancestors 'none';