Files
floci/docs
Priamo Germosen 0baf1a1b79 feat(mwaa): sign in through /aws_mwaa/login with a web login token (#8419)
CreateWebLoginToken returned a token nothing accepted: the proxy had no
/aws_mwaa/login, so a client following Amazon MWAA's REST API guide got
a 404, and with Airflow's session-only API auth every /api/v1 call then
answered 403.

Web login tokens are now kept per environment for the 60 seconds AWS
documents. The proxy intercepts POST /aws_mwaa/login: a valid token in
the `token` form field signs in through Airflow's own login form (CSRF
token and anonymous session from GET /login/, then the admin
credentials Floci generated) and answers 302 to /home with Airflow's
session cookie, which the UI and /api/v1 accept. An unknown or expired
token gets 401.

With floci.tls.enabled, WebserverUrl already named an https endpoint
while the proxy only spoke HTTP; the proxies now serve TLS with Floci's
server certificate and follow its reissues, so a client that builds
https://{WebServerHostname} reaches them.
2026-11-15 00:19:35 -04:00
..
2026-03-15 17:43:56 -05:00