• Sybren A. Stüvel's avatar
    Gracefully handle mismatched OAuth state · 9cea80f3
    Sybren A. Stüvel authored
    We now handle it the same way as an invalid grant. The new handling
    consists of:
    
    - Retrying the login when there was a mismatch, with infinite loop
      protection.
    - Explicitly removing the oauth state from the session after succesful
      login.
    
    Furthermore, this commit maintains the 'next' parameter better when looping
    the login.
    9cea80f3
Name
Last commit
Last update
..
__init__.py Loading commit data...
settings.py Loading commit data...
test_login.py Loading commit data...
test_mypy.py Loading commit data...
test_oauth_login.py Loading commit data...
urls.py Loading commit data...
views.py Loading commit data...