Fix bugs in handling clientRedirectUrl, and improve OIDC tests (#9127, #9128)
* Factor out a common TestHtmlParser Looks like I'm doing this in a few different places. * Improve OIDC login test Complete the OIDC login flow, rather than giving up halfway through. * Ensure that OIDC login works with multiple OIDC providers * Fix bugs in handling clientRedirectUrl - don't drop duplicate query-params, or params with no value - allow utf-8 in query-params
Showing
- changelog.d/9127.feature 1 addition, 0 deletionschangelog.d/9127.feature
- changelog.d/9128.bugfix 1 addition, 0 deletionschangelog.d/9128.bugfix
- synapse/handlers/auth.py 2 additions, 2 deletionssynapse/handlers/auth.py
- synapse/handlers/oidc_handler.py 1 addition, 1 deletionsynapse/handlers/oidc_handler.py
- synapse/rest/synapse/client/pick_idp.py 3 additions, 1 deletionsynapse/rest/synapse/client/pick_idp.py
- tests/rest/client/v1/test_login.py 91 additions, 55 deletionstests/rest/client/v1/test_login.py
- tests/rest/client/v1/utils.py 36 additions, 26 deletionstests/rest/client/v1/utils.py
- tests/server.py 1 addition, 1 deletiontests/server.py
- tests/test_utils/html_parsers.py 53 additions, 0 deletionstests/test_utils/html_parsers.py
Loading
Please register or sign in to comment