Description
Add an interface for Auth Managers to access the request cookies from an auth request, in order to enable reading from the user's cookies at auth time.
Use case/motivation
In order to separate out the JWTs for Keycloak and Airflow, we need to be able to retrieve the Keycloak JWT cookies from cookies inside the auth manager. To do this we currently need to either add the keycloak JWTs to the airflow JWT, which is sub-optimal because it creates a very large cookie, risking rejection on most browsers, or we need to modify the refresh token flow to also pass through a request object with the cookies included.
Related issues
#70707
Are you willing to submit a PR?
Code of Conduct
Description
Add an interface for Auth Managers to access the request cookies from an auth request, in order to enable reading from the user's cookies at auth time.
Use case/motivation
In order to separate out the JWTs for Keycloak and Airflow, we need to be able to retrieve the Keycloak JWT cookies from cookies inside the auth manager. To do this we currently need to either add the keycloak JWTs to the airflow JWT, which is sub-optimal because it creates a very large cookie, risking rejection on most browsers, or we need to modify the refresh token flow to also pass through a request object with the cookies included.
Related issues
#70707
Are you willing to submit a PR?
Code of Conduct