Skip to content

Commit

Permalink
fix error with openid provider when server has https enabled (fixes r…
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoprimo committed Feb 21, 2014
1 parent 6b90a16 commit 70ee2a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions google/connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
$openid = new LightOpenID;
$openid->identity = 'https://www.google.com/accounts/o8/id';
$openid->required = array('namePerson/first', 'namePerson/last', 'contact/email');
$openid->realm = home_url();
$openid->returnUrl = home_url('index.php?social-connect=google');
header('Location: ' . $openid->authUrl());
die();
Expand Down
1 change: 1 addition & 0 deletions yahoo/connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
$openid = new LightOpenID;
$openid->identity = 'me.yahoo.com';
$openid->required = array('namePerson', 'namePerson/friendly', 'contact/email');
$openid->realm = home_url();
$openid->returnUrl = home_url('index.php?social-connect=yahoo');
header('Location: ' . $openid->authUrl());
die();
Expand Down

0 comments on commit 70ee2a1

Please sign in to comment.