We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure logout link via login config:
"login": { "login": "<% host %>/amp-access/login/?rid=READER_ID&url=CANONICAL_URL", "logout": "<% host %>/amp-access/logout/?returnUrl=AMPDOC_URL" },
Then use for logout button
<a on="tap:amp-access.logout" class="logout">Logout</a>
Explain advantage of having access to AMP runtime variables.
//cc @dvoytenko @andreban
The text was updated successfully, but these errors were encountered:
Small nit: it'd be tap:amp-access.login-logout. Doesn't sound great, but I guess we can always add it as a separate call in API at some point.
tap:amp-access.login-logout
Sorry, something went wrong.
sebastianbenz
No branches or pull requests
Configure logout link via login config:
Then use for logout button
Explain advantage of having access to AMP runtime variables.
//cc @dvoytenko @andreban
The text was updated successfully, but these errors were encountered: