[英]What scope do I use to grant imap access to gmail with oauth?
I've not worked with oAuth before but now I'm building a web app which need to fetch all mail from a specific label in gmail and using IMAP with oAuth seems like the right way to go. 我之前没有和oAuth合作,但现在我正在构建一个Web应用程序,它需要从gmail中的特定标签获取所有邮件,并且使用带有oAuth的IMAP似乎是正确的方法。 I've only just started but I've registered my development domain with google so that I've got a consumer key and secret however on the "Test your AuthSub registration here."
我刚刚开始,但我已经用谷歌注册了我的开发域名,所以我有一个消费者密钥和秘密但是在“在这里测试你的AuthSub注册”。 link at the google page I only grant access to the calendar (which I don't even need) I've searched some but all this new stuff is very confusing and I can't find what scope parameter to use, I've tried changing the scope parameter to https://mail.google.com , ..go../mail/, ..go../mail/user@gmail.com/imap/ and ..go../mail/imap/ where ..go.. is https://mail.google.com and https://google.com
链接在谷歌页面我只授予访问日历(我甚至不需要)我已经搜索了一些,但所有这些新的东西是非常混乱,我找不到使用什么范围参数,我试过将范围参数更改为https://mail.google.com ,.. go ../ mail /,.. go ../ mail@user@gmail.com/imap/和..go ../ mail / imap / where ..go ..是https://mail.google.com和https://google.com
So could anyone point me in the right direction? 那么有人能指出我正确的方向吗?
The scope when you use 3 legged is 使用3腿时的范围是
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.