2013-05-05 73 views
8

當我進入已被授權在鏡子API遊樂場鏡API,然後單擊授權的應用程序的我的客戶ID,它會打開一個OAuth屏幕的錯誤:鏡API遊樂場

Error: origin_mismatch 
Request Details 
scope=https://www.googleapis.com/auth/glass.timeline 
response_type=token 
access_type=online 
redirect_uri=postmessage 
proxy=oauth2relay706906217 
origin=https://mirror-api-playground.appspot.com 
state=697419930|0.9593537 
display=page 
client_id=111111111111.apps.googleusercontent.com 
authuser=0 

回答

15

我失蹤這個過程中的一個步驟是將https://mirror-api-playground.appspot.com添加到Web應用程序客戶端ID的JavaScript源代碼中。

+3

此外,我沒有注意到操場底部有一個巨大的紅色按鈕,上面寫着「顯示操場使用信息」,其實更像是「顯示說明」。對於有同樣問題的人們:單擊該按鈕以使魔法般的指示出現! – 2013-12-03 19:10:23

+0

謝謝塞西莉亞!這對我有效 – 2014-04-27 22:51:30