hoauth icon indicating copy to clipboard operation
hoauth copied to clipboard

Critical Error page when user cancel to allow

Open sheillendra opened this issue 11 years ago • 5 comments

Error page and will show app id and scret code if user press cancel button. It happend in this demo too http://hoauth.hamstercms.com/yii-user/user/login

sheillendra avatar Apr 11 '15 02:04 sheillendra

It is an Exception, not a critical error, it is just a demo, you can catch that exception in your application.

marianoarga avatar Apr 11 '15 02:04 marianoarga

where I can add a catch that exception?

sheillendra avatar Apr 11 '15 02:04 sheillendra

/protected/extensions/hoauth/HOAuthAction.php @@185 is already caching that exception for you and you should decide what to do with it. First deploy your apllication code and test it, don't follow the demo as it is.

marianoarga avatar Apr 13 '15 15:04 marianoarga

Hi Marianoagara

i have change line 185 in HOAuthAction and when i click "cancel" in facebook or "deny" in G+ then i have error 500 include(LoginController).

how i fixed ? Thanks

hasbi001 avatar Aug 30 '16 08:08 hasbi001

@hasbi001 What did you changed?

marianoarga avatar Aug 30 '16 14:08 marianoarga