Skip to content
Snippets Groups Projects
Commit 7d5bf4c6 authored by Chris Beer's avatar Chris Beer
Browse files

Make the access token iframe invisible

parent b6138b0e
Branches
Tags
No related merge requests found
......@@ -30,7 +30,13 @@ export class AccessTokenSender extends Component {
*/
return (
<IComCom
attributes={{ src: `${url}?origin=${window.origin}&messageId=${url}` }}
attributes={{
ariaHidden: true,
height: 1,
src: `${url}?origin=${window.origin}&messageId=${url}`,
style: { visibility: 'hidden' },
width: 1,
}}
handleReceiveMessage={this.onReceiveAccessTokenMessage}
/>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment