Hybridauth with facebook adds #_=_ to the url

1.1k views Asked by At

a. Why does Hybridauth login with facebook add #= to the url after a successful login?

and

b. Can it be removed?

2

There are 2 answers

0
Akshay Raje On BEST ANSWER

This is not a Hybridauth issue, its a 'by design' implementation in the Facebook OAuth flow. Check this SO question for more detailed information.

0
Muhammad Tahir On

One suggestion is to remove character from string for example

public function login($provider) {

  $provider = str_replace("#_=_", "", $provider);

Try that.