Do you build things with AMP? Fill out the AMP Developer Survey!
AMP

amp-onetap-google

Description

Displays Google One Tap.

Required Scripts

<script async custom-element="amp-onetap-google" src="https://cdn.ampproject.org/v0/amp-onetap-google-0.1.js"></script>

Supported Layouts

Overview

You can use the amp-onetap-google component to embed a Google One Tap on the page, to allow users to sign into your websites with Google accounts.

Example

<amp-onetap-google
  layout="nodisplay"
  data-src="https://rp.com/intermediate"
></amp-onetap-google>

Attributes

data-src (required) The URL of the intermediate iframe.
common attributes This element includes common attributes extended to AMP components.
Need more help?

You've read this document a dozen times but it doesn't really cover all of your questions? Maybe other people felt the same: reach out to them on Stack Overflow.

Go to Stack Overflow
Found a bug or missing a feature?

The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.

Go to GitHub