Open Luna-omni opened 1 year ago
+1
+1
+1
+1
+1
Add section in the docs related to google's guide for CSP, you can check
+1
So, has anyone figured out what exactly we need to do to get rid of the error message in the Console when testing at localhost:3000?
@Luna-omni @mgoldenbe @nilscam @appyit3 Has anybody found the solution? If yes, please help me
Cross-Origin-Opener-Policy policy would block the window.postMessage call.
I have added my domain in Authorized Javascript Origins
I have added my domain in Authorized Redirect URIs
I tried setting ux_mode="redirect"
in the GoogleLogin
cmponent
I tried setting login_uri=<my-window-domain>
in the GoogleLogin
component
Nothing works
I tried all of the above on local
aswell as vercel
hosted env
Nothing seems to solve the issue
Hello, first of all, thank you for your amazing library. I have a question. When I click to authorize a user, I encountered the following messages.
Cross-Origin-Opener-Policy policy would block the window.postMessage call.
client:275 Cross-Origin-Opener-Policy policy would block the window.closed call.
I googled it and added the code below to my index.html, but it did not work.
<meta http-equiv="Content-Security-Policy" content="frame-src https://accounts.google.com/gsi/;" />
Could you help me?