Create a login-requiring AMP page
Important: this documentation is not applicable to your currently selected format stories!
Some user interactions with a page, such as leaving a comment, could be conditioned by a login flow. You can implement a login flow with AMP by using the
amp-access component combined with the
The comment section sample combines
amp-form to create a comment section which is enabled only when an user has logged in. In order to explain how this sample works, let's follow the set of actions that will be performed once you land on the page.