Skip to content

Different cookie name in sfFacebookConnectPlugin and php-sdk #20

@Tagire

Description

@Tagire

I don't know is it bug or feature. But when you log in with facebook button it sets cookie name like fbs_ApiKey.

But in vendor/php-sdk/src/facebook.php cookie name is like this:

protected function getSessionCookieName() {
    return 'fbs_' . $this->getAppId();
}

And so, when you want to get access token, you are using getSession(). And if you use cookies, you wouldn't get correct access token(because you are using wrong cookie name).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions