[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-12-21 UTC"],[[["HTTP requests from AMP emails in Gmail are proxied and stripped of cookies for security, requiring alternative authentication methods like access tokens."],["Access tokens, generated by the sender, enable authentication within AMP emails and must be secure, time-limited, and included in the request URL."],["AMP components such as `\u003camp-list\u003e` and `\u003camp-form\u003e` utilize access tokens within their URLs for data fetching and form submission."],["Email clients may strip AMP content upon reply or forward, and Gmail has a 30-day usability limit for AMP parts, impacting access token lifespan."],["Access tokens directly identify the user within the URL, replacing traditional cookie-based authentication in AMP emails to address anonymization."]]],["AMP emails in Gmail use proxied HTTP requests, stripping cookies, which prevents standard user authentication. To enable dynamic content, email senders must use access tokens. These cryptographically secure, time- and scope-limited tokens are included in request URLs (e.g., `\u003camp-list\u003e` `src` or `\u003camp-form\u003e` `action-xhr`). Senders generate and validate the tokens to authorize user-specific data requests. For example, a note-taking service embeds a unique token in the URL to fetch a user's notes. Tokens should last 31 days, as AMP parts are usable for 30 days.\n"]]