robertjanke
Forum Replies Created
-
It’s working now! The third URL was missing for the Web OAuth2 Playground! Totally my fault, but it might be better to add the third URL to the description at the top or move everything to the bottom. Thanks for your help! I just bought you a coffee… or beer for that matter. ??
In terms of the Share URL, the admin who inserts the Share URL into the plugin would know which albums (photos/ videos) he wants to share. The plugin only would have to show all those underlying Share URL albums in a nice grid, same as Photonic does now with the authentication. Instead of selecting the albums visually, they would be selected by copy & paste the Share URL. It should be easy to program and very simple set-up without authorization, just copy & paste Share URLs.
By the way, wouldn’t be an easy way of accessing Google Photos Albums (or Photos/ Videos) be to use the “Share URL” from Google Photos? I haven’t found a single Plugin or website that offers that service. Unfortunately, Google only allows to share individual albums (photos/ videos) via individual URLs but doesn’t provide a platform to access all shared albums (photos/ videos). Just a plugin or platform where users can copy and paste the individual “Share URLs” from Google Photo and all these albums, photos/ videos will then show up.
- This reply was modified 3 years, 10 months ago by robertjanke.
- This reply was modified 3 years, 10 months ago by robertjanke.
Unfortunately that didn’t work for me. I also deleted the entire project and started a new project from scratch again. Since late yesterday I don’t even get the Google account selection screen any more, which was followed by 403. Since late yesterday I’m now getting “Error 400: redirect_uri_mismatch”. That applies to both, Photonic Desktop Authorization and Web oauthplayground. Since I have started from scratch again, I don’t see any misconfiguration on my end.
According to the instructions, there are only two Redirect URIs to copy and paste for Web oauthplayground:
https://robertjanke.de
https://robertjanke.de/wp-admin/admin.php?page=photonic-auth&source=googleand on OAuth 2.0 Playground:
https://www.googleapis.com/auth/photoslibrary.readonly https://www.googleapis.com/auth/photoslibrary.sharing
Compared to the instructions, the oAuth Consent Screen also contains 3 more steps: Scopes, Test users, Summary. I didn’t do any entries there, correct?
I have tried another Google account now. I set-up the Desktop client. After providing Client ID and Secret in Photonic WP and hitting Authenticate I get “Authorization Error
Error 400: redirect_uri_mismatch”. How can there be an uri mismatch? I haven’t provided any redirect uri because that option is only available for Web, not Desktop.API Key deleted. It’s External. Yes, Photos Library API added. Authorized domain: robertjanke.de
Click here for screenshots of the API interface.
- This reply was modified 3 years, 10 months ago by robertjanke.
1. Created a project on the Google account where I want to access the photos. Don’t have any other projects.
2. Created API key, no restrictions. No other APIs.
3. Created OAuth 2.0 Client IDs Desktop and Web
4. Desktop Client ID and Client Secret in Photonic WordPress returned 403. All WordPress Plugins disabled except Photonic.
5. Changed Client ID and Client Secret to Web credentials in Photonic WordPress
6. Went to Google OAuth2 Playground and used Web credentials but also got 403.What do you mean by “Are you sure you have given me the values for the authorized domain?”
- This reply was modified 3 years, 10 months ago by robertjanke.
- This reply was modified 3 years, 10 months ago by robertjanke.
- This reply was modified 3 years, 10 months ago by robertjanke.
- This reply was modified 3 years, 10 months ago by robertjanke.
Is verified domain ownership relevant or not? WordPress is installed on the robertjanke.de domain. This domain is verified via Google Workspace. However, I want Photonic to access the Google Photos of another Gmail account, which is not registered as owner of robertjanke.de Is that the problem? Can I only access the Google Photos of the Google account with verified ownership of my domain robertjanke.de? I have followed all the authentication steps on the second Google account where I want to access the photos but which is not the (verified) owner of my domain.
- This reply was modified 3 years, 10 months ago by robertjanke.
I can give you access to my Google account that I want to use for Photonic authorization. It’s not my main account. Hence, privacy isn’t much of an issue.
Well, when I click on Authenticate in WordPress I get forwarded to Google for the Google Account selection:
https://accounts.google.com/o/oauth2/auth/oauthchooseaccount?access_type….After I click the relevant Google account, 403 appears:
Authorization Error
Error 403: access_denied
The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer (…[email protected]).
Learn more
Request Details
access_type=offline
response_type=code
redirect_uri=https://robertjanke.de/wp-admin/admin.php?page=photonic-auth&source=google
state=……::%2Fwp-admin%2Fadmin.php%3Fpage%3Dphotonic-auth
prompt=consent
client_id=…..-……apps.googleusercontent.com
scope=https://www.googleapis.com/auth/photoslibrary.reaWhen I use the Desktop client, enter the relevant “OAuth Client ID” and “OAuth Client secret” into Photonic and then click on Authenticate, I also get the Google Account Selection screen but again, after selecting the relevant Google Account, 403 appears.
I followed the workaround instructions: went to the Google OAuth2 Playground, entered “OAuth Client ID” and “OAuth Client secret”, put in https://www.googleapis.com/auth/photoslibrary.readonly https://www.googleapis.com/auth/photoslibrary.sharing
I get the account selection screen with my Google Accounts, chose the relevant one and then 403 appears. I can send you the screenshots in a private message or give you access.Ah, great, thanks! Works like a charm! Small dot, great difference! ??
Unfortunately that didn’t work. It’s still on the left of the page and not centred.
Thanks a lot! That works like a charm! Happy New Year!