diff --git a/get_oauth_token.php b/get_oauth_token.php index befdc34a..961db531 100644 --- a/get_oauth_token.php +++ b/get_oauth_token.php @@ -45,13 +45,26 @@ use Hayageek\OAuth2\Client\Provider\Yahoo; //@see https://github.com/stevenmaguire/oauth2-microsoft use Stevenmaguire\OAuth2\Client\Provider\Microsoft; -if (!isset($_GET['code']) && !isset($_GET['provider'])) { +if (!isset($_GET['code']) && !isset($_POST['provider'])) { ?> -
Select Provider: