Skip to content

fix(amazon-photos): Add export OAuth scopes - #1508

Open
vipulkala95 wants to merge 1 commit into
dtinit:masterfrom
vipulkala95:fix/amazon-photos-export-scopes
Open

fix(amazon-photos): Add export OAuth scopes#1508
vipulkala95 wants to merge 1 commit into
dtinit:masterfrom
vipulkala95:fix/amazon-photos-export-scopes

Conversation

@vipulkala95

Copy link
Copy Markdown
Collaborator

My earlier PR updated the import scopes to the amazonphotos:: namespace but dropped the export scopes, leaving getExportScopes() empty. That crashes the server on startup (Guice fails provisioning the Amazon export generator with no scopes). This adds them back:

  • PHOTOS: amazonphotos::images:read, amazonphotos::albums:read
  • VIDEOS: amazonphotos::videos:read, amazonphotos::albums:read

Verified: auth tests pass, server boots and the export consent URL now carries the scopes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant