GitHub CLI web-based browser flow session expiration

Hi everyone,

We have a SAML-enabled GitHub organisation that enforces a daily authentication via an external Identity Provider when accessing via the web UI.

We are looking for a way to enforce SAML for CLI access too, and GitHub CLI web-based browser flow seems to be a key component to get this enabled.

Unfortunately, I couldn’t find useful information about how exactly the web-based browser flow works. Especially, for how long does the authorisation last? Any help from the community will be much appreciated.