We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 446893c commit 2f214fcCopy full SHA for 2f214fc
1 file changed
solid/lib/Controller/ServerController.php
@@ -221,7 +221,11 @@ public function authorize() {
221
}
222
223
$parsedOrigin = parse_url($clientRegistration['redirect_uris'][0]);
224
- if ($parsedOrigin['scheme'] != "https" && !isset($_GET['customscheme'])) {
+ if (
225
+ $parsedOrigin['scheme'] != "https" &&
226
+ $parsedOrigin['scheme'] != "http" &&
227
+ !isset($_GET['customscheme'])
228
+ ) {
229
$result = new JSONResponse('Custom schema');
230
$result->setStatus(302);
231
$originalRequest = parse_url($_SERVER['REQUEST_URI']);
0 commit comments