PipedreamHQ / PipedreamHQ/pipedream

Google Photos: missing photoslibrary.sharing OAuth scope blocks share-album action

Open
#20,274 2 comments 0 reactions 1 assignee Claimed by @s0s0physm View on GitHub
deprecated prioritized triaged
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

## Description

The `share-album` action (`components/google_photos/actions/share-album/share-album.mjs`) calls `POST /v1/albums/{albumId}:share`, which requires the `https://www.googleapis.com/auth/photoslibrary.sharing` OAuth scope.

However, the current Pipedream OAuth app for Google Photos only requests these scopes:
- `email`
- `profile`
- `photoslibrary.readonly.appcreateddata`
- `photoslibrary.edit.appcreateddata`
- `photoslibrary.appendonly`

The missing `photoslibrary.sharing` scope causes a 403 "insufficient scopes" error when trying to share an album.

## Note on Google deprecation

Google announced deprecation of `photoslibrary.sharing` (along with `photoslibrary.readonly` and `photoslibrary`) after March 31, 2025. If this scope is no longer available, the `share-album` action should be deprecated or removed.

## Impact

5 out of 6 Google Photos actions work correctly. Only `share-album` is affected.

## Workaround

Users can configure a custom OAuth client ("Bring Your Own OAuth") with the sharing scope included.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.