diff --git a/api/rpk-api/hub/auth/__init__.py b/api/rpk-api/hub/auth/__init__.py index ed51077..8d8fde6 100644 --- a/api/rpk-api/hub/auth/__init__.py +++ b/api/rpk-api/hub/auth/__init__.py @@ -67,7 +67,7 @@ class AuthenticationBackendMe(AuthenticationBackend): class CookieTransportOauth(CookieTransport): async def get_login_response(self, token: str) -> Response: - response = RedirectResponse("/auth/login?oauth=success", status_code=status.HTTP_301_MOVED_PERMANENTLY) + response = RedirectResponse("/login?oauth=success", status_code=status.HTTP_301_MOVED_PERMANENTLY) return self._set_login_cookie(response, token) @staticmethod