无法从Outlook API获取刷新令牌

时间:2018-06-27 05:27:07

标签: ios swift oauth-2.0 outlook-restapi refresh-token

我正在使用此Outlook tutorial在我的iOS应用中实现日历API 。一切正常,除了我只得到accessToken而不是refreshTokenrefreshToken到期时,accessToken帮助用户重新进行身份验证。用户登录时,将获得以下日志

是否已为访问[true]和刷新[false]令牌交换了代码。
[Debug] OAuth2:将令牌存储到钥匙串 2018年6月27日10:03:35.278621 + 0530 MyApp的[1289:678367]访问令牌:EwBAA8l6BAAURSN / FHlDW5xN74t6GzbtsBBeBUYAAfs1rSmpbK3Xs6Uu + oSncVPsZOzcZx7L1Sk3gVSLyMD9188SVKUqW + trFAsFrlzzOVz4isxG / joPcHRNhKK + VBJ + EQY + P8 / IaxgvFd8kCW7YkPfaoPyak5ygyqFGMf3dGh3P2zgJ4vUStuQ1adRnacobOS6DxvK / ebyrMC4tquKKr7U5JFW0rFBUvg0XO692vq5C ++ 8579RBed2NpYvjFEF7epdTMM / AJ27NOFDkDmY8muCIyE6E2OVKz0dnzYuLGr / f78hIUJi1r / l92E5j35GbyDJ0LcRaJBIVcgQrCMf8WmK1N / 61HGkETYKeJQl / UhdhoHWy8ntFsjdRNioSFiEDZgAACAYiR8UZg492EALuonNuVSml + pHzGxDs3KAkhDKnSgAMJ0FeP1tEPf4PPdnGSgbStoCCTimJzfe5wJp3MEMPwVRHGR9 + e865EihYkdSwRoPL06ySjuboe4x51FNjoPiCYBd + AYD + n5f7BbflNsJT21aShMbaroOw4lTUwe4RmDXnEpvkQBqzjxqPYvqFAm3j1mzgyYKWONYYMSNgo + mWf5CC + KrE0xHB0nejj + M4lb + oah8s4eCDt // IcULinW5EP7KFxCpwi7OWjdJhg7pJsJIBJghYP9AJIhuTclwYDroj4s3dk + dcdzvCBRJ + HdY8tlIHd + 70D,/ AyjUT1Co98RTj6ZRH / lQEX0nggH5KheiCAT3Bysds / QF + XjIka0QpU78o / Q5ncrNWVB3n8MITF1H3t6NuPTriguVvSoGrw / 5MZXVbQuQQHOjDtCc2EkoysaVIKEEAtaxncg6ULxs09ir1qmze + K + + Ga9jfI6jfKnuwPVG + 6tYWCg1lBnutoNfABechNOfzRaZg39cFs + yUqi52R dMoRrq88Gd 2zXZgSnM9VPi4M8qWPpDRCgN57e6Ro36tOG6KDHTMJ + / y43fP6yyj4ly / FfccY8VX5QgA1EO74 2018-06-27 10:03:35.281954 + 0530 MyApp [1289:678367]已成功登录。
授权! refreshToken为零

由于缺少此令牌,每次accessToken过期时都会显示登录屏幕,这不正确! 任何人,请帮助!现在坐几个小时!

0 个答案:

没有答案