Hi Team,

 

I am facing an issue while throwing an invalid credentials error message using smtryno cookie. I went through the community post - Any other techinque instead of SMTRYNO , but in my scenario – the solution mentioned in that community post will not work.  I see the below issue while using SMTRYNO cookie. I have explained the issue along with the actual application flow.

 

  1. User accesses the application (xyz.com)
  2. User is redirected to the landing page where he/she clicks on login
  3. User is presented with a login page asking him/her to enter credentials
  4. User provides invalid credentials and SMTRYNO cookie is incremented by 1. The user is displayed an error message saying your credentials are invalid. (I believe this is done by reading the combination of SMTRYNO and SMAUTHREASON cookie)
  5. At this stage, user clicks on the application logo in the same window and he/she is redirected to the application landing page
  6. User again clicks on login and this time user is redirected to the same login page (as in step #3), but an invalid credentials message is thrown even when user hasn’t provided the credentials. This is because the SMTRYNO cookie value is still 1. 

 

Question: How can we not show the invalid credentials error message at step #6. For this to happen, the SMTRYNO cookie should be set to 0 when the user clicks on the application logo or we have change the code to throw the error message based on the combination of SMTRYNO cookie and some other cookie? 

I am sure other clients also must have faced this issue.

 

Please provide suggestions? 

 

Thanks,

Shivam


Source: New feed
{pubDate}

Leave a Reply

Your email address will not be published. Required fields are marked *