I need to know how to share a variable in parent window to iframe.
My scenario is this,
I have 2 angular5 application say and . 和
B is loaded as an Iframe to A.
Authentication is done in A and I get an access token which i need to pass to B.
These are the things I tried.
您可以将open B iframe与auth令牌一起用作查询参数:
<iframe src="yourURL?auth_token=ASDF1234"></iframe>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.