Dialogflow es 如何创建帐户链接?

Dialogflow es 如何创建帐户链接?,dialogflow-es,actions-on-google,api-ai,Dialogflow Es,Actions On Google,Api Ai,我想创建AccountLinking来识别用户 我试着参考下面的链接 然后当我尝试在谷歌模拟器上的操作上进行Accout链接时 我得到了这个结果 { "response": "It looks like your Test account is not linked yet", "audioResponse": "//NExAARc...", "debugInfo": { "sharedDebugInfo": [ { "name": "Ac

我想创建AccountLinking来识别用户

我试着参考下面的链接

然后当我尝试在谷歌模拟器上的操作上进行Accout链接时

我得到了这个结果

{
"response": "It looks like your Test account is not linked yet",
"audioResponse": "//NExAARc...",
"debugInfo": {
    "sharedDebugInfo": [
        {
            "name": "Account Linking Url",
            "debugInfo": "https://assistant.google.com/services/auth/handoffs/auth/start?provider=my_project_name_dev&scopes=email+name&return_url=https://www.google.com/"
        }
    ]
}}
400. That’s an error.

Error: invalid_scope

Some requested scopes were invalid. {valid=
[https://www.googleapis.com/auth/userinfo.email], invalid=[name]}
然后我把链接复制粘贴到我的浏览器中

但我得到了这个结果

{
"response": "It looks like your Test account is not linked yet",
"audioResponse": "//NExAARc...",
"debugInfo": {
    "sharedDebugInfo": [
        {
            "name": "Account Linking Url",
            "debugInfo": "https://assistant.google.com/services/auth/handoffs/auth/start?provider=my_project_name_dev&scopes=email+name&return_url=https://www.google.com/"
        }
    ]
}}
400. That’s an error.

Error: invalid_scope

Some requested scopes were invalid. {valid=
[https://www.googleapis.com/auth/userinfo.email], invalid=[name]}

如何修复它?

作用域的
名称
无效。(以及
https://www.googleapis.com/auth/userinfo.email
作用域有效,但已弃用。)


请参阅以获取所需的范围,但您可能正在查找的可能是
profile
email

感谢您回答此问题。问题已解决:)很高兴它有帮助!如果回答了您的问题,请使用答案文本左侧的控件向上投票和/或接受答案。