在这个页面中,只会为不以HTTPS开头或指向salesforce的回调URL返回refresh_token。
https://na5.salesforce.com/help/doc/en/remoteaccess_oauth_user_agent_flow.htm
但是,在SF->setup->develop>远程应用程序创建页面中,它只接受以HTTPS或像abcd这样的任意字符串开头的URL。
在浏览器中启动授权URL (即refresh_token授权)时,有什么技巧可以获得OAuth吗?
我们希望使用refresh_token重新验证access_token (过期时),而不必提示登录窗口。
发布于 2012-03-05 20:02:16
我们使用了错误的流(用户代理流)。如果我们使用WebServer flow,那么refresh_token也会被发送到https: urls。
https://stackoverflow.com/questions/4997747
复制相似问题