<#4784 [Core feature] pyflyte should store tokens ...
# flyte-github
c
#4784 [Core feature] pyflyte should store tokens after DeviceFlow auth Issue created by EternalDeiwos ### Motivation: Why do you think this is important? Its currently quite annoying to authenticate for every
pyflyte
command I run against a remote cluster. I am fairly sure that current behaviour of
authType=Pkce
is to store the access and refresh tokens and use them to maintain an active session and prevent the user from having to re-login too much. ### Goal: What should the final outcome look like, ideally? It would be nice if
pyflyte
stored the access and refresh tokens and automatically maintained the user's session according to the configuration of the external IdP (e.g. token expiration, maximum session length, etc.) ### Describe alternatives you've considered Completing the entire device-code flow for every instruction (as per current implementation) ### Propose: Link/Inline OR Additional context No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte