Facebook login takes forever to redirect
Hi Bachi,
Please give us your app public and describe steps to reproduce this problem.
Regards.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi Bachi,
Please give us your app public and describe steps to reproduce this problem.
Regards.
Hi Bachi,
Please provide us your app public link and describe steps to reproduce this problem.
Regards.
Bachi,
I've checked your app.
And culprit of your problem is your own JS code in "mreg.js" file.
pre
function auth(nm){
if(!localStorage['user_id']){
//localStorage['redirect_to']=nm;
Appery.navigateTo('FB', {reverse: false});
}
}
/pre
See details: http://prntscr.com/4qduy6/direct
So you should comment this part of code to escape this behavior:
pre
Appery.navigateTo('FB', {reverse: false});
/pre
Regards.
Please can you tell me what should I change here?
Bachi,
You should open your "mreg.js" JS asset.
Find there following code:
pre
Appery.navigateTo('FB', {reverse: false});
/pre
And replace it with following one:
pre
//Appery.navigateTo('FB', {reverse: false});
/pre
Regards.
Fantastic! Very good job. Thank you, Yuri