ampproject / ampproject/amphtml

amp-onetap-google not working

Open
#35,411 1 comment 0 reactions 1 assignee Claimed by @alanorozco View on GitHub
P2: Soon Stale WG: components
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

I am trying to set up Google one-tap login, I have added

``

if a user already has one account login in the browser then it automatically logins but if a user has multiple account login in the browser then nothing happens

I inspect it says "Refused to display 'https://accounts.google.com/' in a frame because it set 'X-Frame-Options' to 'deny'."

so I have added
Header always set X-Frame-Options "SAMEORIGIN"
Header set X-Frame-Options "ALLOW-FROM https://accounts.google.com/"

in .htacess file but nothing happens, I already setup google oauth(amp-access) and it is working fine but amp-onetap-google is not working

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.