Buradasın
Chrome Extension Authentication with Identity Platform
cloud.google.com/identity-platform/docs/web/chrome-extensionYapay zekadan makale özeti
- Supported Methods
- Identity Platform provides email/password, email link, and anonymous sign-in methods
- Custom authentication and provider sign-in are also supported
- pop-up and redirect methods require Offscreen Documents
- Implementation Requirements
- Web SDK version 10.8.0 or higher needed for firebase/auth/web-extension
- Extension must be added to authorized domains in Identity Platform
- Content security policy must allow Google APIs URLs
- Offscreen Document Approach
- Authentication code can be implemented in iframe using offscreen document
- Extension package includes minimal HTML file for offscreen logic
- Background.js service worker loads site and processes authentication
- Authentication results are proxied back to extension package