vincbeck commented on PR #46981: URL: https://github.com/apache/airflow/pull/46981#issuecomment-2731143288
I think this PR introduces a bug in token validation. To reproduce: * Do not set `[api_auth] jwt_secret` in config * Login (with any auth manager) * Any calls will result in a 403 because the token validation failed: `ERROR - JWT token is not valid: Signature verification failed`. Which ends up creating an infinite loop in the browser After a very short investigation (sorry I could not put more time, I'll continue on Wednesday if it is not solved by then), the secret generated in `get_signing_key` in `airflow/api_fastapi/auth/tokens.py` is generated multiple times. The `conf.set(` does not work. I do not quite know why. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
