inject parsed parameters to make SECOAUTH happy

pull/306/merge
Justin Richer 2013-01-30 16:33:27 -05:00
parent 1144d511af
commit 3c190e044a
1 changed files with 4 additions and 1 deletions

View File

@ -122,7 +122,10 @@ public class ConnectAuthorizationRequestManager implements AuthorizationRequestM
Set<String> clientScopes = client.getScope();
scopes = clientScopes;
}
DefaultAuthorizationRequest request = new DefaultAuthorizationRequest(inputParams, Collections.<String, String> emptyMap(), clientId, scopes);
// note that we have to inject the processed parameters in at this point so that SECOAUTH can find them later (and this object will get copy-constructored away anyway)
DefaultAuthorizationRequest request = new DefaultAuthorizationRequest(parameters, Collections.<String, String> emptyMap(), clientId, scopes);
request.addClientDetails(client);
return request;