ReAuth when force signing is enabled

11 views
Skip to first unread message

Sidhin Thomas

unread,
7:51 AM (14 hours ago) 7:51 AM
to Chromium-dev
Hey devs,

Had a query in case anyone familiar with the Gia auth and related concepts sees this. 

How do we force a re-auth when forced signing is enabled. As in enter username, password etc when the refresh token is expired or session is revoked by the client.

I saw that there is `ProfilePickerHandler::TryLaunchLockedProfile` which forces re-auth. From what I could tell, it fetches the info from prefs and makes the call. But how does it know whether a profile's session has been revoked or the refresh token has expired?

Thanks,
Sidhin

Alex Ilin

unread,
11:11 AM (10 hours ago) 11:11 AM
to sidhin...@gmail.com, Chromium-dev
Hi Sidhin,

Take a look at the `ForceSigninVerifier` class. This class tries to use a refresh token and if the token has expired it locks the profile.

Thanks,
Alex

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/18a09773-b6a9-44ef-a002-b1d008485536n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages