mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 09:07:02 +02:00
Attempt a redirect (once) if there's a state mismatch
This commit is contained in:
parent
63c0aec4b8
commit
ea43a34dee
4 changed files with 34 additions and 20 deletions
|
@ -33,8 +33,8 @@ class AuthenticationFailed(OIDCException):
|
|||
friendly_message = "This login attempt didn't work."
|
||||
|
||||
|
||||
class NoStateDefined(OIDCException):
|
||||
friendly_message = "The session state is None."
|
||||
class StateMismatch(OIDCException):
|
||||
friendly_message = "State mismatch. This login attempt didn't work."
|
||||
|
||||
|
||||
class InternalError(OIDCException):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue