"Credentials". // 4. Click "Create Credentials" -> "OAuth client ID". // 5. Select "Web application" for the application type. // 6. Under "Authorized redirect URIs", add the EXACT redirect URI for your application. // You can find the correct URI by temporarily adding the following line to your index.php: // echo "Your Redirect URI is: " . GOOGLE_REDIRECT_URI; // 7. Click "Create". // 8. Copy the "Client ID" and "Client Secret" and paste them below. define('GOOGLE_CLIENT_ID', '105420142772-pfmcst2vhtm9to0tmaeonua2varbb0qd.apps.googleusercontent.com'); define('GOOGLE_CLIENT_SECRET', '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'); // Set the redirect URI to use https, as required for production apps. define('GOOGLE_REDIRECT_URI', 'https://' . $_SERVER['HTTP_HOST'] . '/callback.php'); ?>