Skip to content

Commit

Permalink
UY-1453 revert state fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ppiernik committed Jun 17, 2024
1 parent 41aba38 commit 673cd57
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,12 @@ public void doFilter(HttpServletRequest request, HttpServletResponse response) t

private void returnOAuthError(HttpServletRequest request, HttpServletResponse response) throws IOException
{
String sessionId = request.getSession().getId();
log.debug(sessionId);

OAuthAuthzContext ctx = OAuthSessionService.getContext(request).get();
AuthorizationErrorResponse oauthResponse = new AuthorizationErrorResponse(ctx.getReturnURI(),
OIDCError.LOGIN_REQUIRED, State.parse(request.getParameter("state")),
OIDCError.LOGIN_REQUIRED, ctx.getRequest().getState(),
ctx.getRequest().impliedResponseMode());
try
{
Expand Down

0 comments on commit 673cd57

Please sign in to comment.