如何集成google加Oauth API在Phonegap的Android应用程序 [英] How to integrate google plus Oauth API in Phonegap for android app
问题描述
我想使用google plus验证我的Phonegap Android应用程式。我使用了Oauth Google API。我使用客户端ID和客户端秘密从谷歌加Oauth API,但我不知道什么要写在重定向URI。在重定向URI中写什么?我已使用此 http://phonegap-tips.com /articles/google-api-oauth-with-phonegaps-inappbrowser.html 来制作我的Phonegap应用程式。
I want to do authentication of my Phonegap Android application using google plus. I have used Oauth Google API. I have used client ID and client secret from google plus Oauth API but i don't know what to write in Redirection URI. What to write in Redirection URI ? i have used this http://phonegap-tips.com/articles/google-api-oauth-with-phonegaps-inappbrowser.html for making my Phonegap app.
推荐答案
nice question
i也有同样的问题
,并通过
nice question i had also same issue and resolved it by
使用 localhost 作为重定向uri来解决。
我希望能帮助你。
use "localhost" as Redirection uri. i hope helps you.
这篇关于如何集成google加Oauth API在Phonegap的Android应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!