-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DeviceTrust badge when session upgraded #41029
Conversation
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
85e9be3
to
ec09f25
Compare
web/packages/teleport/src/components/Authenticated/Authenticated.tsx
Outdated
Show resolved
Hide resolved
@kimlisa updated and reverted the |
5d9a30a
to
d162509
Compare
This PR will add a badge if the
webSession
has been upgraded with Device Trust.This updates our
status
check to include a new field,hasDeviceExtensions
which returns true if the certificate for the websession have been extended with device trust extensions. In order to not have to "wait" for the first status check, I've changed the initialvalidateCookieAndSession
to just befetchStatus
. For some reason, we did a barevalidateCookieAndSession
and then called it again infetchStatus
every time after.If the session is valid, the shield icon will appear (with a hover text shown in screenshot)