I keep getting an "Error: Your authorization token has expired, please login again" error from the CLI immediately after getting a new token


If the token you’re receiving from the provided OAUTH url when trying to authenticate from the CLI, make sure that you have recently logged into Astronomer platform.

Sometimes, your browser will cache the OAUTH page and present to you an expired token. Logging back in via the UI will make sure this page refreshes and a valid token is presented to you.


^ this also worked for me when I kept getting redirected back to the app page when trying to access an airflow deployment