use new unified parsing for approval page
parent
85533d50cf
commit
59187d47e4
|
@ -124,9 +124,6 @@ public class OAuthConfirmationController {
|
||||||
|
|
||||||
sortedScopes.addAll(Sets.difference(scopes, systemScopes));
|
sortedScopes.addAll(Sets.difference(scopes, systemScopes));
|
||||||
|
|
||||||
Map<String, String> proposedParams = scopeService.structuredScopeParameters(clientAuth.getScope());
|
|
||||||
|
|
||||||
model.put("proposedParams", proposedParams);
|
|
||||||
model.put("scopes", sortedScopes);
|
model.put("scopes", sortedScopes);
|
||||||
|
|
||||||
return "approve";
|
return "approve";
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
|
|
||||||
</label>
|
</label>
|
||||||
<c:if test="${ scope.structured }">
|
<c:if test="${ scope.structured }">
|
||||||
<input name="scopeparam_${ scope.value }" type="text" value="${proposedParams[scope.value]}" placeholder="${scope.structuredParamDescription}">
|
<input name="scopeparam_${ scope.value }" type="text" value="${ scope.structuredValue }" placeholder="${scope.structuredParamDescription}">
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
|
|
Loading…
Reference in New Issue