Skip to content

Commit

Permalink
add order in Oauth2ExceptionResolver so that UserRedirectRequiredExce…
Browse files Browse the repository at this point in the history
…ption is caught before openmrs-core SimpleMappingExceptionResolver (#29)
  • Loading branch information
icrc-fdeniger authored Jan 27, 2025
1 parent d914c9d commit 704d799
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ public ModelAndView resolveException(HttpServletRequest request, HttpServletResp
return super.resolveException(request, response, handler, ex);
}

@Override
public int getOrder() {
return 50;
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<organization>
<name>OpenMRS</name>
<url>http://openmrs.org</url>
<url>https://openmrs.org</url>
</organization>

<scm>
Expand Down

0 comments on commit 704d799

Please sign in to comment.