HttpSessionOAuth2AuthorizationRequestRepository handle multiple OAuth2AuthorizationRequest per session

Fixes gh-5110
This commit is contained in:
Joe Grandja
2018-03-13 15:56:10 -04:00
committed by Rob Winch
parent 7e6ed52603
commit 59cef7d339
5 changed files with 138 additions and 48 deletions

View File

@@ -250,7 +250,7 @@ public class OAuth2LoginApplicationTests {
HtmlElement errorElement = page.getBody().getFirstByXPath("p");
assertThat(errorElement).isNotNull();
assertThat(errorElement.asText()).contains("invalid_state_parameter");
assertThat(errorElement.asText()).contains("authorization_request_not_found");
}
@Test