mercredi 11 novembre 2020

Application logout during the cypress tests and application signinSilent

I am testing an application build from IdentityServer3 and MVC/Angular modules with cypress ver.5.4.0.

After log in to the application, my test time is limited by Silent re-sign in that is happening in iframe every specified time. The Silent sign in always failed. I assume that the IdentityServer3 does not have a particular token/user information to keep me alive.

Console Errors: consoleErrors

What I've done:

  • went to IdentityServer3.config and increased life of accessTokenLifetime
  • went to oidcManagerSettings and put automationSilentRenew:false to stop the process
  • went to oidcManagerSettings, leave automationSilentRenew:true and set checkSessionInterval: 36000

Changing the settings does not change the logout behaviour.

What is the best solution to solve the situation? Any tips will be much appreciated.

Aucun commentaire:

Enregistrer un commentaire