[Feature]: Google Slides piece - service account auth (CustomAuth)
Author: majewskibartoszCreated Sep 17, 2026Updated Sep 17, 2026
Labels🌟 feature🧩 area/third-party-pieces
Problem
Google Slides is OAuth2-only. packages/pieces/community/google-slides/src/lib/auth.ts exports a single PieceAuth.OAuth2, so the connection dialog offers only Client ID / Client Secret.
google-docs, google-sheets, google-drive, google-calendar and google-forms all ship a second "Service Account (Advanced)" PieceAuth.CustomAuth. Slides is the gap.
Ref: Pylon 6011
Proposed
Port the google-docs pattern (PR 11635) to google-slides:
auth.tsexports[OAuth2, CustomAuth]; CustomAuth props:serviceAccount(JSON key, LongText, required) +userEmail(optional, domain-wide delegation), withvalidate.createGoogleClient/getAccessTokenbranching onAppConnectionType.CUSTOM_AUTHviaJWTfromgoogle-auth-library(already a dependency of the piece).- Route the 3 actions and
createCustomApiCallActionauthMapping throughgetAccessToken.
OAuth2 stays default; existing connections unaffected.
Source: activepieces/activepieces