amazon-cognito - 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..
解决方案
推荐阅读
- influxdb - 在 influxql 中使用正则表达式排除测量值
- tensorflow - TensorFlow Hub 上与北美地标分类模型的输出不匹配
- fabricjs - 如何检查织物对象是否为视频?
- python - 为什么我在 python 3.9 中不断收到属性错误
- php - 在 php(yii1.1 框架)中处理 csv 文件时,爱尔兰口音变为 wiered 字符
- python - 如何从单独的请求中结束无限循环?
- azure - 无法在 Azure VM 上更新 ubuntu
- python - 更改配置并加载在下游任务上微调的拥抱脸模型
- reactjs - 您如何在 useEffect 挂钩之外使用 Library Constructer?
- javascript - 返回一个不太小也不太大的数字用于操作?