We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2192d62 commit 0d3904aCopy full SHA for 0d3904a
tests/test_hybrid.py
@@ -721,7 +721,7 @@ def test_code_post_auth_failing_redirection_uri_with_querystring(self):
721
722
response = self.client.post(reverse("oauth2_provider:authorize"), data=form_data)
723
self.assertEqual(response.status_code, 302)
724
- self.assertEqual("http://example.com?foo=bar&error=access_denied", response["Location"])
+ self.assertEqual("http://example.com?foo=bar&error=access_denied&state=random_state_string", response["Location"])
725
726
def test_code_post_auth_fails_when_redirect_uri_path_is_invalid(self):
727
"""
0 commit comments