Do not require "me" parameter in connection callback
authorChristian Weiske <cweiske@cweiske.de>
Wed, 5 Sep 2018 20:18:21 +0000 (22:18 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 5 Sep 2018 20:18:21 +0000 (22:18 +0200)
It is not required by the IndieAuth spec anymore, see
https://www.w3.org/TR/indieauth/#authentication-response

Resolves: https://github.com/cweiske/shpub/issues/14

src/shpub/Command/Connect.php

index 6ac5ed4..b39665b 100644 (file)
@@ -279,7 +279,6 @@ class Command_Connect
                     parse_str($parts['query'], $query);
                     if (isset($query['code'])
                         && isset($query['state'])
-                        && isset($query['me'])
                     ) {
                         fwrite($sock, $responseOk);
                         fclose($sock);