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:
-Google
-Yahoo
-Microsoft/Outlook/Hotmail/Live/Office365
+ +
+

Select Provider

+ +
+ +
+ +
+

Provide id and secret

+

These details are obtained by setting up an app in the Google developer console, + or whichever provider you're using. +

+ ClientId:
+ ClientSecret:
+ +