首页 > 解决方案 > Aws amplify federated sign in trough iframe 'X-Frame-Options' to 'deny'

问题描述

Is there a way to call Auth.federatedSignIn({ provider: CognitoHostedUIIdentityProvider.Facebook }); inside iframe but from new tab(window)?

I've tried to add link with targe=_top or target=_blank but that didn't solved my problem. I mean I need to open new window with cognito hosted UI? Though if link is clicked outside of iframe everything works properly..

标签: amazon-cognitoaws-amplify

解决方案


推荐阅读