bugraoz93 commented on code in PR #51657:
URL: https://github.com/apache/airflow/pull/51657#discussion_r2146775833


##########
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:
   Thanks a lot, Vincent! Clear :) I will try the UI part too but if I see it 
will take too much time, I will ping you on that part after finishing all the 
others :)



-- 
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]

Reply via email to