e
Showing
2 changed files
with
2 additions
and
2 deletions
| ... | @@ -5,7 +5,7 @@ include_once("src/contrib/Google_Oauth2Service.php"); | ... | @@ -5,7 +5,7 @@ include_once("src/contrib/Google_Oauth2Service.php"); |
| 5 | ######### edit details ########## | 5 | ######### edit details ########## |
| 6 | $clientId = '326088686201-1llld5s7s3uhb2shl4g2g9djkvq584pc.apps.googleusercontent.com'; //Google CLIENT ID | 6 | $clientId = '326088686201-1llld5s7s3uhb2shl4g2g9djkvq584pc.apps.googleusercontent.com'; //Google CLIENT ID |
| 7 | $clientSecret = 'F4Fa8MdTT17f4voG4lRaOCuc'; //Google CLIENT SECRET | 7 | $clientSecret = 'F4Fa8MdTT17f4voG4lRaOCuc'; //Google CLIENT SECRET |
| 8 | $redirectUrl = 'http://banners.gotenzing.com'; //return url (url to script) | 8 | $redirectUrl = 'http://banners.gotenzing.com/login.php'; //return url (url to script) |
| 9 | $homeUrl = 'http://banners.gotenzing.com'; //return to home | 9 | $homeUrl = 'http://banners.gotenzing.com'; //return to home |
| 10 | 10 | ||
| 11 | ################################## | 11 | ################################## | ... | ... |
| ... | @@ -57,7 +57,7 @@ | ... | @@ -57,7 +57,7 @@ |
| 57 | if(isset($authUrl)) { | 57 | if(isset($authUrl)) { |
| 58 | echo '<a href="'.$authUrl.'"><img width="259" style="padding:20px;" src="./images/glogin.png" alt=""/></a>'; | 58 | echo '<a href="'.$authUrl.'"><img width="259" style="padding:20px;" src="./images/glogin.png" alt=""/></a>'; |
| 59 | } else { | 59 | } else { |
| 60 | 60 | header('Location: index.php'); | |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | ?> | 63 | ?> | ... | ... |
-
Please register or sign in to post a comment