Skip to content
Discussion options

You must be logged in to vote

Your observation matches the client implementation in 3.3.1 and 3.3.2: supplying Configuration(username=..., password=...) does not perform a JWT login or install a token-refresh flow.

The distinction is visible in the generated configuration code:

  1. username / password are HTTP Basic authentication fields. get_basic_auth_token() constructs a Basic header; it does not exchange credentials at /auth/token.
  2. The generated Airflow 3 auth settings use access_token. auth_settings() builds the HTTPBearer and OAuth2PasswordBearer entries from that value. The OAuth2PasswordBearer name does not mean the client runs the password-grant flow. With only username/password set, this method returns an empty…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KochankovID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants