The GitHub Actions job "Tests" on 
airflow.git/fix-61121-keycloak-url-normalization has succeeded.
Run started by GitHub user y-sudharshan (triggered by eladkal).

Head commit for run:
f259fbcb1e61bd006127b057fc74bb814f4c67e3 / y-sudharshan 
<[email protected]>
Fix Keycloak double-slash URL bug (#61121)

- Normalize server_url in _get_token_url to prevent double-slashes
- Add .rstrip('/') to handle trailing slashes in server_url configuration
- Add comprehensive tests for URL normalization scenarios
- Resolves compatibility issue with Keycloak 26.4+ strict path validation

When server_url has a trailing slash (e.g., 'https://host/auth/'),
the previous implementation would create invalid URLs with double-slashes
(e.g., 'https://host/auth//realms/...'), which Keycloak 26.4+ rejects
with HTTP 400 'missingNormalization' error.

This fix allows users to configure server_url with or without trailing
slashes while ensuring properly normalized URLs are always generated.

Fixes #61121

Report URL: https://github.com/apache/airflow/actions/runs/21558796039

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to