Jump to content
  • 0
steveruehlen

Authentication/Login Page Looping Issue

Question

Is anyone else encountering a looping error when the application login page redirects to another page? Our application contains a login page and up until yesterday once a user enters his or her login credentials, the user is re-directed their respective home page. This morning,  when a user enters his or her credentials the user is re-directed to his or her home page and then immediately re-directed to the login page and then immediately re-directed to the home page...and this is an endless loop. Caspio does not have an answer, although I suspect it has something to do with last night 

Share this post


Link to post
Share on other sites

14 answers to this question

Recommended Posts

  • 0
18 hours ago, steveruehlen said:

Is anyone else encountering a looping error when the application login page redirects to another page? Our application contains a login page and up until yesterday once a user enters his or her login credentials, the user is re-directed their respective home page. This morning,  when a user enters his or her credentials the user is re-directed to his or her home page and then immediately re-directed to the login page and then immediately re-directed to the home page...and this is an endless loop. Caspio does not have an answer, although I suspect it has something to do with last night 

Yes, I experienced this issue as well. It was resolved by clearing the cache and browser. Not the perfect fix but at least users can log-in. 

Share this post


Link to post
Share on other sites
  • 0

Thank you very much for replying, Douvega and Breee. We have over 1,000 users who are external customers and most are not tech-savvy, so a message on the login screen to clear the cache is not terribly effective. Hopefully Caspio will roll out a solution soon..

Share this post


Link to post
Share on other sites
  • 0

Try this.

  • Add a field or change something in your authentications and save them.
  • Remove the field previously added or revert the changes and save the authentication again.

It seems it works somehow. Let us know what happens.

Share this post


Link to post
Share on other sites
  • 0

Thanks Douvega I will try that to see if it works. 

I'm with you on the whole clear cache external user situation steveruehlen. This is my issue as well. 

I also experienced some styling issues with my reports so I'm afraid to touch anything at the moment. I have Caspio support assisting so I'm hoping that will also be resolved. 

Thank you both for your input. 

 

Bre. 

 

 

 

Share this post


Link to post
Share on other sites
  • 0

Thanks, Douvega. Unfortunately, that did not work for us. After adding a field to the authentication and then deleting it, I asked a customer to log in (a customer who has not logged in for a couple of days) and she getting the looping error. We have discovered another workaround, it's not great. If you have a logout button on the home page users are directed to after logging in, if they click that button and then log back in, the problem is fixed. Essentially logging out clears the login credentials from cache. 

Share this post


Link to post
Share on other sites
  • 0

try it again and see if it is working now. There were some old authentication sessions that were causing the issue.  Those are removed now. Let me know if your login is working now

Share this post


Link to post
Share on other sites
  • 0

Another temporary solution is using different browser. For iPhone users, they can switched off "Prevent Cross-Site Tracking" in Settings> Safari> Privacy & Security.

I hope this helps.

 

 

Share this post


Link to post
Share on other sites
  • 0

Our end-users are once again experiencing this problem (endless looping between the login page and the page they are directed to after logging in). It does not matter which browser they use, the problem persists with all browsers. These reports are coming from end-users who are using a PC, not a mobile device. Are any of you also hearing reports of this? 

Share this post


Link to post
Share on other sites
  • 0

Hi steveruehlen,

 

Did you try clearing the cache on your device? If you did so but the issue does not go away, you might want to review the process flow of your website. Else, if it does fix the issue, you may just ask your users to hit Ctrl + F5 (or command key + F5) on erroneous pages. Works 90% of the time.

 

Possible things that might cause Looping Redirection usually include the following. Try disabling them and re-enabling them one by one:

1.) Authentication > Designated entry page (Set to none)

1308320924_ForumAuth.png.5cb98dd80cb2cad7ddf9336042cc04a6.png

--

2. A script on your webpage that redirects you to (or back and forth) the same page. [Usually within by HTML DataPages]

3. A combination of both.

4. Your deployed DataPages have different authentications (related to item #1)

5. If your DataPages are supposed to have different authentications, you might need to check 'Enable cross-app login'.

 

Hope this helps even for a bit.

 

Regards,

DN31337

Share this post


Link to post
Share on other sites
  • 0

DefinitelyNot31337 Thank you for the info.  I confirmed the the "Designated entry page" does not = None.  Regarding the two authentications that take place when a person logs in: the first  authentication is for the login page, authenticating the user name and password.  The second authenticates the user based on their role (value in a specific authentication field,  then the script directs the user to a specific home page based on role, or value in that field. So the two pages use different authentications as you noted, but  I confirmed the 'Enable cross-app login' is indeed checked.  I have looked at the authentications and datapages literally 20 times and do not see anything out of order based on the setup documentation I found in the Caspio help. If there is something wrong in the setup and I am missing it, then I don't know what to look for. When the next customer calls in, I will try the CTL F5 idea. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×