vincbeck commented on code in PR #51657:
URL: https://github.com/apache/airflow/pull/51657#discussion_r2145022477
##########
providers/keycloak/src/airflow/providers/keycloak/auth_manager/routes/login.py:
##########
@@ -48,39 +45,81 @@ def login_callback(request: Request):
code = request.query_params.get("code")
if not code:
return HTMLResponse("Missing code", status_code=400)
-
- client = _get_keycloak_client()
redirect_uri = request.url_for("login_callback")
-
- tokens = client.token(
- grant_type="authorization_code",
+ token = KeycloakAuthManagerLogin.refresh_token(
Review Comment:
If you are unsure how to do it, I am happy to take this piece
--
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]