ratsume / lightopenid

Automatically exported from code.google.com/p/lightopenid
0 stars 0 forks source link

Unregistered domain error #82

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I get the following result from Google:
"OpenID auth request contains an unregistered domain: https://www.oneibc.com"

with my code snippet:
$openid = new \LightOpenID('https://www.oneibc.com');

Do you get the same? Can anyone help me solve this?

Original issue reported on code.google.com by vothanhl...@gmail.com on 21 Oct 2014 at 6:19

GoogleCodeExporter commented 8 years ago
It still works for me. Are you using unmodified example-google.php (aside from 
the hostname)?

Also, try using 'www.oneibc.com' as the constructor parameter. It expects a 
hostname, not an URL.

Not to mention that, at this point, OpenID 2.0 is deprecated and using it in 
new deployments is not necessarily a good idea.

Original comment by mewp...@gmail.com on 21 Oct 2014 at 6:25