We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28384b5 commit 3ad37faCopy full SHA for 3ad37fa
solid/lib/Controller/ServerController.php
@@ -104,12 +104,14 @@ private function getKeys() {
104
}
105
106
private function createAuthServerConfig() {
107
- $clientId = null;
108
- if (isset($_GET['client_id'])) {
109
- $clientId = $_GET['client_id'];
110
- } else if (isset($_POST['client_id'])) {
111
- $clientId = $_POST['client_id'];
112
- }
+ $clientId = null;
+ if (isset($_GET['client_id'])) {
+ $clientId = $_GET['client_id'];
+ } else if (isset($_POST['client_id'])) {
+ if (isset($_POST['refresh_token'])) { // FIXME: Why does the test suite break without this?
+ $clientId = $_POST['client_id'];
113
+ }
114
115
$client = $this->getClient($clientId);
116
$keys = $this->getKeys();
117
try {
0 commit comments