From 16d275b5ec8ea1aa33d5bae8854433c1fd0da873 Mon Sep 17 00:00:00 2001 From: Frank Duncan Date: Wed, 15 Mar 2023 07:32:11 -0500 Subject: [PATCH] Add specification of callback for google/imgur When setting up the demo, and enabling oauth on the systems, they required the redirect being sent from DTP to match the one in their system, which was /callback/ --- .../data-transfer/portability-data-transfer-google/Readme.md | 1 + .../data-transfer/portability-data-transfer-imgur/Readme.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/extensions/data-transfer/portability-data-transfer-google/Readme.md b/extensions/data-transfer/portability-data-transfer-google/Readme.md index 458dfc3c9..c6a9031ec 100644 --- a/extensions/data-transfer/portability-data-transfer-google/Readme.md +++ b/extensions/data-transfer/portability-data-transfer-google/Readme.md @@ -35,6 +35,7 @@ Before getting started you will need a [Google Cloud developer account](https:// - Enable the Google Photos API and request an OAuth 2.0 client ID by following the [getting started guide](https://developers.google.com/photos/library/guides/get-started). - Choose which [authorization scopes](https://developers.google.com/photos/library/guides/authentication-authorization) your application will need. You can see the required scopes in the [GoogleOauthConfig](https://github.com/google/data-transfer-project/blob/master/extensions/auth/portability-auth-google/src/main/java/org/datatransferproject/auth/google/GoogleOAuthConfig.java#L51-L77). - Initially, your application will show an "Unverified app" message until it is [verified](https://support.google.com/cloud/answer/7454865) and you will have limited [API](https://developers.google.com/photos/library/guides/api-limits-quotas) and [OAuth](https://console.developers.google.com/apis/credentials/consent) quota + - Your callback needs to be set to `https:///callback/google`, even if that domain is `localhost` - We recommend you review the [UX Guidelines](https://developers.google.com/photos/library/guides/ux-guidelines) and [Acceptable use policy](https://developers.google.com/photos/library/guides/acceptable-use) while designing your app if you want to eventually get increased quota through the Google Photos Partner Program. #### Launching to Production diff --git a/extensions/data-transfer/portability-data-transfer-imgur/Readme.md b/extensions/data-transfer/portability-data-transfer-imgur/Readme.md index 6ff37e642..720d96560 100644 --- a/extensions/data-transfer/portability-data-transfer-imgur/Readme.md +++ b/extensions/data-transfer/portability-data-transfer-imgur/Readme.md @@ -16,6 +16,8 @@ cases are working. Apply for a key at [https://api.imgur.com/oauth2/addclient](https://api.imgur.com/oauth2/addclient) +Your callback needs to be set to `https:///callback/imgur`, even if that domain is `localhost` + Imgur uses OAuth 2.0 for authorization. ## Maintained By