Skip to content

SSO warnings: write "session expires in ..." when refresh token is present#1685

Open
jedisct1 wants to merge 3 commits intomainfrom
fdenis/refresh
Open

SSO warnings: write "session expires in ..." when refresh token is present#1685
jedisct1 wants to merge 3 commits intomainfrom
fdenis/refresh

Conversation

@jedisct1
Copy link
Contributor

Change summary

When a refresh token is available, prefix expiration warnings with "session" to distinguish refresh-based expiry from access token expiry (e.g. "Your active token session expires in 10 minutes").

Also suppress access-token expiration warnings when a refresh token exists but has no expiry set, since the token will auto-refresh and the warning would be misleading.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  • Does your submission pass tests?

Changes to Core Features:

  • Have you written new tests for your core changes, as applicable?
  • Have you successfully run tests with your changes locally?

User Impact

Clearer expiration warnings: "session expires in ..." instead of "expires in ..."

Are there any considerations that need to be addressed for release?

No breaking changes. This is a cosmetic/UX improvement to warning messages only.

…esent

When a refresh token is available, prefix expiration warnings with
"session" to distinguish refresh-based expiry from access token expiry.

Also suppress access-token expiration warnings when a refresh token
exists but has no expiry set (it will auto-refresh).
@jedisct1 jedisct1 requested a review from a team as a code owner March 11, 2026 15:27
@jedisct1 jedisct1 requested a review from philippschulte March 11, 2026 15:27
@jedisct1 jedisct1 added the Skip-Changelog do not add a changelog entry for this change label Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip-Changelog do not add a changelog entry for this change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant