inject parsed parameters to make SECOAUTH happy
parent
1144d511af
commit
3c190e044a
|
@ -122,7 +122,10 @@ public class ConnectAuthorizationRequestManager implements AuthorizationRequestM
|
||||||
Set<String> clientScopes = client.getScope();
|
Set<String> clientScopes = client.getScope();
|
||||||
scopes = clientScopes;
|
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);
|
request.addClientDetails(client);
|
||||||
return request;
|
return request;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue