Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Check session idleness in login #1772

Merged
merged 1 commit into from
Feb 4, 2021
Merged

Conversation

whaught
Copy link
Contributor

@whaught whaught commented Feb 4, 2021

Fixes #1771

Proposed Changes

  • Checks the session for idleness even if auth is not required. This is important because requireSession defers a bump to session freshness (so the login page currently refreshes the session).

Release Note

Ensure the login page doesn't refresh session freshness

@googlebot googlebot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Feb 4, 2021
@google-cla google-cla bot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Feb 4, 2021
@whaught
Copy link
Contributor Author

whaught commented Feb 4, 2021

/hold I'm turning down the timeout and testing this in dev

Copy link
Member

@sethvargo sethvargo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

I wonder if we could separate idle checking from auth entirely.

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sethvargo, whaught

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@whaught
Copy link
Contributor Author

whaught commented Feb 4, 2021

/hold cancel

@google-oss-robot google-oss-robot merged commit 5a9755e into google:main Feb 4, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VS Portal Session does not expire if page is closed
4 participants