feat(media): Embed Google Photo Picker via Popup Flow
- Revert 'Unified Embedded Picker' which caused 403 errors due to iframe restrictions on the Google Photos Picker. - Implement a 'Popup Window' flow for Google Photos selections, keeping the Media Manager active. - Restore 'Classic' Embedded Picker for Google Drive (DocsView) as it is compatible with iframes. - Update ppsscript.json with drive.photos.readonly scope for correct permissions. - Update Media Manager UI to separate Drive and Photos buttons.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -18,6 +18,7 @@
|
|||||||
"https://www.googleapis.com/auth/script.scriptapp",
|
"https://www.googleapis.com/auth/script.scriptapp",
|
||||||
"https://www.googleapis.com/auth/drive",
|
"https://www.googleapis.com/auth/drive",
|
||||||
"https://www.googleapis.com/auth/userinfo.email",
|
"https://www.googleapis.com/auth/userinfo.email",
|
||||||
"https://www.googleapis.com/auth/photospicker.mediaitems.readonly"
|
"https://www.googleapis.com/auth/photospicker.mediaitems.readonly",
|
||||||
|
"https://www.googleapis.com/auth/drive.photos.readonly"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user