pierrejeambrun commented on code in PR #47041:
URL: https://github.com/apache/airflow/pull/47041#discussion_r1970124565


##########
airflow/auth/managers/simple/ui/src/login/Login.tsx:
##########
@@ -36,7 +36,7 @@ type ExpandedApiError = {
 export const Login = () => {
     const onSuccess = (data: LoginResponse) => {
         // Redirect to index page with the token
-        globalThis.location.replace(`/webapp/?token=${data.jwt_token}`);
+        globalThis.location.replace(`/?token=${data.jwt_token}`);

Review Comment:
   Yes we should probably figure that out



##########
airflow/auth/managers/simple/ui/src/login/Login.tsx:
##########
@@ -36,7 +36,7 @@ type ExpandedApiError = {
 export const Login = () => {
     const onSuccess = (data: LoginResponse) => {
         // Redirect to index page with the token
-        globalThis.location.replace(`/webapp/?token=${data.jwt_token}`);
+        globalThis.location.replace(`/?token=${data.jwt_token}`);

Review Comment:
   Yes we should probably figure that out (later)



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