|
|
|
@ -26,7 +26,6 @@ import java.util.LinkedHashSet;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
import java.util.Set;
|
|
|
|
|
import java.util.UUID;
|
|
|
|
|
|
|
|
|
|
import org.mitre.oauth2.model.ClientDetailsEntity;
|
|
|
|
|
import org.mitre.oauth2.model.SystemScope;
|
|
|
|
@ -194,9 +193,7 @@ public class OAuthConfirmationController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// inject a random value for CSRF purposes
|
|
|
|
|
String csrf = UUID.randomUUID().toString();
|
|
|
|
|
model.put("csrf", csrf);
|
|
|
|
|
authRequest.getExtensions().put("csrf", csrf);
|
|
|
|
|
model.put("csrf", authRequest.getExtensions().get("csrf"));
|
|
|
|
|
|
|
|
|
|
return "approve";
|
|
|
|
|
}
|
|
|
|
|