collective / collective/Products.CAS4PAS

Products.CAS4PAS doesn't handle validation responses with an XML-declaration correctly

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We recently tried to update our CAS-infrastructure. Before the update, a validation response started like this:


After the update, a validation started like this:



Notice the XML-declaration (` 0:
# We have an XML response (CAS architecture 2.0)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in CASAuthHelper.py at the validation-response handling shown in the issue, and inspect how the first response line is used to distinguish CAS v1 from v2. Reproduce a validation response beginning with an XML declaration, then verify that the subsequent CAS service response is recognized and authentication succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.