Skip to content

Timeout does not logout in Safari #25974

Closed

Description

@ser-popov

Repro Steps:

  1. Login to Hosts
  2. Go to the upload page
  3. Upload one document
  4. Wait

Actual:
See screenshot
Timeout code runs but the user is not logged out

Expected:
User should be logged out if no action

image.png

Activity

  1. added
    bug
    on Feb 13, 2025
  2. mbertucci commented on Feb 14, 2025

    @mbertucci
    Contributor

    Michaela Anderson to try and see if she can reproduce the bug

  3. Michaela-R-Anderson commented on Feb 14, 2025

    @Michaela-R-Anderson

    In Safari on my Mac the refresh token starts but the warning dialogue is never displayed to the user.
    After 42 minutes user is able to complete the form (errors displaying in console) and after payment is submitted user is logged out. Logging back in user sees application was still successfully submitted and payment processed. Screenshot 2025-02-14 at 10.45.40 AM.png
    Screenshot 2025-02-14 at 10.47.01 AM.png

  4. removed their assignment
    on Feb 14, 2025
  5. mbertucci commented on Feb 18, 2025

    @mbertucci
    Contributor

    tested and it does not work.

  6. dimak1 commented on Feb 18, 2025

    @dimak1
    Collaborator

    @mbertucci just to confirm, this ticket has higher priority than #25475?

  7. dimak1 commented on Feb 19, 2025

    @dimak1
    Collaborator

    To add some context:
    This might be a Safari-only related issue, where the setTimeout counter for the session time out behaves differently in Safar vs other browsers. Safari may not execute the function immediately as expected, leading to inconsistent behavior compared to other browsers.
    I will try to fix it, but if this is not as critical as other tickets, pls let me know @mbertucci

  8. dimak1 commented on Feb 20, 2025

    @dimak1
    Collaborator

    I was able to see Session Timeout warning and then expiration mesage, in Safari, in Test env (see below).
    @mbertucci @ser-popov

    Screenshot 2025-02-19 at 16.41.40.png

    Screenshot 2025-02-19 at 16.42.14.png

  9. dimak1 commented on Feb 20, 2025

    @dimak1
    Collaborator

    @jdyck-fw not sure why the estimate is at 0, but we should add some points for the time spent by the team.

  10. jdyck-fw commented on Feb 20, 2025

    @jdyck-fw
    Contributor

    @dimak1 - The reasoning is because it was not a pre-existing issue, rather one introduced while completing this feature work and so then the assertion is that it's complexity that we should have considered in the initial estimate for that work. Though if it was pre-existing before this feature work, then I'd advocate for it to be estimated and prioritized outside of the current sprint work.

  11. dimak1 commented on Feb 20, 2025

    @dimak1
    Collaborator

    Thanks for clarification @jdyck-fw
    @ser-popov please add your comments and we can move to Done as discussed, thanks!

  12. mbertucci commented on Feb 26, 2025

    @mbertucci
    Contributor

    @ser-popov did you create another ticket to capture the additional work that needs to be done for the app to work in safari? there is also this ticket in jira that is related to this https://sbc-registries.atlassian.net/browse/ITOPS-164842?atlOrigin=eyJpIjoiNTgwYWMyOGRjY2YzNDJmN2JhNjA1YzNmZjM3ODFjMzUiLCJwIjoiaiJ9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

STRbug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions