Skip to content

Commit

Permalink
Merge pull request #331 from darranl/Issue#330
Browse files Browse the repository at this point in the history
Resolves #330 Build the UriBuilder first and call toString() on the resulting URI.
  • Loading branch information
arjantijms authored Aug 25, 2022
2 parents 04b3bf2 + e187b1e commit aa5933f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public AuthenticationStatus authenticateUser(HttpServletRequest request, HttpSer

configuration.getExtraParameters().forEach(authRequest::queryParam);

String authUrl = authRequest.toString();
String authUrl = authRequest.build().toString();
LOGGER.log(FINEST, "Redirecting for authentication to {0}", authUrl);
try {
response.sendRedirect(authUrl);
Expand Down

0 comments on commit aa5933f

Please sign in to comment.