【发布时间】:2023-04-04 18:12:01
【问题描述】:
我一直在研究 trello api,所以我的问题是我必须在数据库中保存一个令牌。 回复在帖子中:
window.opener.postMessage("token generated here ", "http://www.servername.com")
1. how to fetch token from post message.
2.i have tried code from this link :http://stackoverflow.com/questions/3332532/how-can-i-do-cross-domain-postmessage. but is not working.
3. https://developer.mozilla.org/en-US/docs/Web/API/window.postMessage this link i also go through .
snapshots step by step here is
step 1: authentication with oath :http://postimg.org/image/5cwazfvfv/
step 2: when i press allow button to get token i recieve this window and here
url: http://postimg.org/image/f3y34m2dz/
【问题讨论】:
-
需要更多信息!以便社区成员可以帮助您。你在使用 iframe 还是 popupwindow?
-
sr 我用快照更新了我的查询,请解决这个问题。