TheOOnly 2023-08-07 21:14 采纳率: 0%
浏览 646

vscode上github未知的登录错误

vscode用github登录显示:尚未完成授权此扩展使用 GitHub 的操作。选择另一种方式还是不行

img

img

但是网页端却显示我登陆了(两次都是)

img

img

下面是GitHub上这部分的源代码:

{
    "": [
        "--------------------------------------------------------------------------------------------",
        "Copyright (c) Microsoft Corporation. All rights reserved.",
        "Licensed under the MIT License. See License.txt in the project root for license information.",
        "--------------------------------------------------------------------------------------------",
        "Do not edit this file. It is machine generated."
    ],
    "version": "1.0.0",
    "contents": {
        "bundle": {
            "Continue to GitHub": "继续访问 GitHub",
            "Continue to GitHub to create a Personal Access Token (PAT)": "继续转到 GitHub 以创建个人访问令牌 (PAT)",
            "Copy & Continue to GitHub": "复制并继续访问 GitHub",
            "GitHub Enterprise Server URI is not a valid URI: {0}": "GitHub Enterprise 服务器 URI 不是有效的 URI: {0}",
            "Having trouble logging in? Would you like to try a different way? ({0})": "登录时遇到问题? 是否要尝试其他方式? ({0})",
            "No": "否",
            "Open [{0}]({0}) in a new tab and paste your one-time code: {1}/The [{0}]({0}) will be a url and the {1} will be a code, e.g. 123-456{Locked=\"[{0}]({0})\"}": "在新选项卡中打开 [{0}]({0}),并粘贴一次性代码: {1}",
            "Sign in failed: {0}": "登录失败: {0}",
            "Sign out failed: {0}": "注销失败: {0}",
            "Signing in to {0}.../The {0} will be a url, e.g. github.com": "正在登录到 {0}...",
            "To finish authenticating, navigate to GitHub and paste in the above one-time code.": "要完成身份验证,请导航到 GitHub 并粘贴以上一次性代码。",
            "To finish authenticating, navigate to GitHub to create a PAT then paste the PAT into the input box.": "若要完成身份验证,请导航到 GitHub 以创建 PAT,然后将 PAT 粘贴到输入框中。",
            "Yes": "是",
            "You have not yet finished authorizing this extension to use GitHub. Would you like to try a different way? ({0})": "尚未完成授权此扩展使用 GitHub 的操作。是否要尝试其他方式? ({0})",
            "Your Code: {0}/The {0} will be a code, e.g. 123-456": "你的代码: {0}",
            "device code": "设备代码",
            "local server": "本地服务器",
            "personal access token": "个人访问令牌",
            "url handler": "URL 处理程序"
        },
        "package": {
            "description": "GitHub 身份验证提供程序",
            "displayName": "GitHub 身份验证"
        }
    }
}

有木有人帮我看看是为什么?

  • 写回答

2条回答 默认 最新

  • fanmiku 2023-09-16 22:04
    关注

    请问lz知道如何解决了吗

    评论

报告相同问题?

问题事件

  • 创建了问题 8月7日