async def oauth_logout(request: Request, authenticated: bool = Depends(user_authentication)):
    """
    This function is used to logout the oauth user
    :return: HTMLResponse
    """
    request.session.pop("oauth_info", None)
    return RedirectResponse("/")

    This function is used to logout the oauth user
    :return: HTMLResponse
    
src/autotrain/app/ui_routes.py