Skip to content

Implement session_lifetime_minutes or force logout time for Airflow 3 UI #48787

@tirkarthi

Description

@tirkarthi

Description

In Airflow 2 session_lifetime_minutes config was present that logs out user when the user is not active for configured value of session_lifetime_minutes . For JWT tokens the expiration time can be set but Airflow 3 UI keeps refreshing after expiration time even with a shorter jwt_expiration_time in airflow.cfg thus user who is once logged in will always be logged in if I understand correctly.

Use case/motivation

This is a requirement in corporate environments to logout after certain time of inactivity for compliance and security.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions