我有一个控制台应用程序,它使用Google的OAuth设备工作流程来验证使用其Google帐户的用户(请参阅:https://developers.google.com/identity/protocols/OAuth2ForDevices)。
在身份验证过程中,用户需要访问create table roles
(
id int unsigned not null auto_increment
,name varchar(32) not null
,phone varchar(256) not null
,primary key (id)
)
engine=innodb
default charset=utf8;
并复制粘贴我的应用程序打印的代码。
是否可以将代码作为auth url的一部分包含在内,以便代码已经填写,用户只需要点击进行身份验证(我正在考虑以编程方式打开浏览器窗口)?< / p>
寻找像https://www.google.com/device