CakePHP-HybridAuth icon indicating copy to clipboard operation
CakePHP-HybridAuth copied to clipboard

Error after cancel or deny facebook login.

Open Ashrafdev opened this issue 8 years ago • 4 comments

image

Ashrafdev avatar Jul 09 '17 04:07 Ashrafdev

why just not redirect user back to login page like normal if i using twitter auth ?

Ashrafdev avatar Jul 09 '17 04:07 Ashrafdev

If twitter and facebook providers are behaving differently when canceling login then the problem is with the hybridauth lib not this plugin.

ADmad avatar Jul 09 '17 12:07 ADmad

ok thanks @ADmad

Ashrafdev avatar Jul 09 '17 12:07 Ashrafdev

The problem most likely lies here.

In earlier version (most likely 2.7) when I had developed the plugin this exception was thrown with error code 5. The plugin checks and redirects you back to login page if the error code is 5.

ADmad avatar Jul 09 '17 13:07 ADmad