gopidesupavan commented on code in PR #47432: URL: https://github.com/apache/airflow/pull/47432#discussion_r1991626299
########## airflow/auth/managers/simple/ui/src/login/Login.tsx: ########## @@ -40,7 +40,10 @@ export const Login = () => { const onSuccess = (data: LoginResponse) => { // Redirect to appropriate page with the token const next = searchParams.get("next") - globalThis.location.replace(`${next ?? ""}?token=${data.jwt_token}`); + + localStorage.setItem("token", JSON.stringify(data.jwt_token)); Review Comment: Yeah previously it was failing to parse so added that, i think now this is not required. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org