Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realm and return_to do not match while using wildcard domain #8

Open
SpaHost opened this issue Jul 7, 2014 · 1 comment
Open

Realm and return_to do not match while using wildcard domain #8

SpaHost opened this issue Jul 7, 2014 · 1 comment

Comments

@SpaHost
Copy link

SpaHost commented Jul 7, 2014

Hi, i get that error everytime if i use a wildcard domain for the realm like this:

$openid = new LightOpenID('*.example.com');
if(!$openid->mode) {
    if(isset($_GET['login'])) {
        $openid->identity = 'http://steamcommunity.com/openid';
        $openid->returnUrl ='http://'.$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
        header('Location: ' . $openid->authUrl());
    }

I saw http://nodge.ru/yii-eauth/demo2/ has the option for this... i dont want to use this framework... I hope you can lend me a hand!! LightOpenID base has the same error (and someones pulls a merge request with the fix) but i cant fix it.

@iignatov
Copy link
Owner

Sorry, but I don't use this library (or PHP at all) anymore, so I have no plans to update it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants