View difference between Paste ID: G1YSPhWT and QYsGyPJa
SHOW: | | - or go back to the newest paste.
1
<?php
2-
	$openid = new LightOpenID("marktplatz-mittelalter.de");
2+
3
	$openid = new LightOpenID("xxx.de");
4
 
5
	$openid->identity = 'https://www.google.com/accounts/o8/id';
6
	$openid->required = array(
7
				'namePerson/first',
8
  '				namePerson/last',
9
				'contact/email',
10-
	$openid->returnUrl = 'http://marktplatz-mittelalter.de/anmelden_google.php';
10+
11-
	$open_url = $openid->authUrl();
11+
	$openid->returnUrl = 'http://xxx/anmelden_google.php';
12
	$open_url = $openid->authUrl();	
13
	?>
14
<a href="<?php echo $open_url ?>">Login with Google</a>