inject scopes

pull/306/merge
Justin Richer 2013-01-30 16:33:04 -05:00
parent f9d50db1f1
commit 1144d511af
1 changed files with 7 additions and 0 deletions

View File

@ -210,6 +210,13 @@ public class ConnectAuthorizationRequestManager implements AuthorizationRequestM
}
}
String scope = claims.getClaimAsString("scope");
if (scope != null) {
if (inputParams.containsKey("scope") == false) {
parameters.put("scope", scope);
}
}
return parameters;
}