sai chandan
sai chandan

Reputation: 71

How to add google authentication in an iframe?

I'm trying to implement google OAuth into an iframe, but i saw that it has blocked due to security issues.

Is there any workaround/customization that can be done to make it work. Note: I have used keycloak google auth as well. So it would be great if it can be made possible from keycloak.

Upvotes: 2

Views: 5812

Answers (1)

denov
denov

Reputation: 12688

You can not. You need to use a pop-up window.

accounts.google.com sets X-Frame-Options to deny

Upvotes: 2

Related Questions