Hi all,
I was interested in using the automatic login feature and poked through the code a little. I tried to get it working by setting the siteconfig option "sso_auto_login_backend": "saml".
I ran into a couple of errors in debug mode under reviewboard/accounts/views.py:
Line 88: During handling of the above exception (is_safe_url() got an unexpected keyword argument 'host'), another exception occurred:
Line 94: 'SSOBackendRegistry' object has no attribute 'ItemLookupError'
I managed to get it working if I changed line 88 to:
if is_safe_url(url=redirect_to, allowed_hosts=request.get_host()):
The automatic login option is excellent! I'd really appreciate it if this can be fixed in a future release so I can use this feature!
Thanks,
Becky