Skip to content

Commit

Permalink
Merge pull request #1642 from JanssenProject/jans-auth-server-1641
Browse files Browse the repository at this point in the history
fix(jans-auth-server): corrected npe in JwtAuthorizationRequest
  • Loading branch information
yuriyz committed Jun 29, 2022
2 parents 6d8b153 + 9c9e7bf commit b98d047
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ private static String queryRequest(@Nullable String requestUri, @Nullable Redire
}

public static JwtAuthorizationRequest createJwtRequest(String request, String requestUri, Client client, RedirectUriResponse redirectUriResponse, AbstractCryptoProvider cryptoProvider, AppConfiguration appConfiguration) {
validateRequestUri(requestUri, client, appConfiguration, redirectUriResponse.getState());
validateRequestUri(requestUri, client, appConfiguration, redirectUriResponse != null ? redirectUriResponse.getState() : null);
final String requestFromClient = queryRequest(requestUri, redirectUriResponse, appConfiguration);
if (StringUtils.isNotBlank(requestFromClient)) {
request = requestFromClient;
Expand Down

0 comments on commit b98d047

Please sign in to comment.