Skip to content

Commit

Permalink
AuthorizationRequest.createOAuth2Request mistakenly populated the req…
Browse files Browse the repository at this point in the history
…uestParameters map with the approvalParameters map. Fixed method to use correct map.
  • Loading branch information
aanganes authored and Dave Syer committed Aug 21, 2013
1 parent 53491e8 commit 7f05a32
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -103,7 +103,7 @@ public AuthorizationRequest(Map<String, String> authorizationParameters, Map<Str
}

public OAuth2Request createOAuth2Request() {
return new OAuth2Request(getApprovalParameters(), getClientId(), getAuthorities(), isApproved(), getScope(), getResourceIds(), getRedirectUri(), getResponseTypes(), getExtensions());
return new OAuth2Request(getRequestParameters(), getClientId(), getAuthorities(), isApproved(), getScope(), getResourceIds(), getRedirectUri(), getResponseTypes(), getExtensions());
}

/**
Expand Down

0 comments on commit 7f05a32

Please sign in to comment.