Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/google-chrome-extension/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Oauth 2.0 iframe/popup中的Google oauth2授权_Oauth 2.0_X Frame Options - Fatal编程技术网

Oauth 2.0 iframe/popup中的Google oauth2授权

Oauth 2.0 iframe/popup中的Google oauth2授权,oauth-2.0,x-frame-options,Oauth 2.0,X Frame Options,我的应用程序在iframe中工作(注入了chrome扩展)。 应用程序需要向用户询问google oauth2的一些权限。 重定向到oauth页面不能直接在iframe中工作, 因为X-Frame-Options:SAMEORIGIN在 有没有办法在弹出窗口中显示页面?对于您的案例来说似乎是个不错的选择。它带有一个按钮,可以在弹出窗口中触发身份验证流

我的应用程序在iframe中工作(注入了chrome扩展)。 应用程序需要向用户询问google oauth2的一些权限。 重定向到oauth页面不能直接在iframe中工作, 因为X-Frame-Options:SAMEORIGIN在

有没有办法在弹出窗口中显示页面?

对于您的案例来说似乎是个不错的选择。它带有一个按钮,可以在弹出窗口中触发身份验证流