Skip to content

Commit

Permalink
fix(jans-auth-server): corrected npe in JwtAuthorizationRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyz committed Jun 29, 2022
1 parent 9defacb commit 9c9e7bf
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 9c9e7bf

Please sign in to comment.