在Express.js中使用护照-Google-令牌刷新令牌

时间:2019-11-12 18:08:30

标签: node.js reactjs express passport.js

使用NodeJS的 passport-google-token 软件包时,我无法获得刷新令牌。我正在使用clientID和clientSecret设置 accessType:“离线” 提示:“同意” ,但是refresh_token始终返回null或未定义。

int xCoordinate =0;
    while(true){
        try{
        xCoordinate = Convert.ToInt32(Console.ReadLine());
            break;
        }
        catch{

        }
    }
Console.WriteLine(xCoordinate);

0 个答案:

没有答案
相关问题