Closed tbaumann closed 1 year ago
I wonder if starting up a temporary HTTP server on localhost might work? Would need testing whether Google's OAuth accepts http://localhost:1234/
as the redirect url. Getting HTTPS would be difficult and I wouldn't be surprised if HTTP is blocked.
The latest version of gphotos-sync has switched to InstalledAppFlow.
See https://gilesknap.github.io/gphotos-sync/main/tutorials/oauth2.html
This looks to me like exactly what I did, and yet I got a message similar to the one above. Still no cause for concern?
In order to create the new secret you would have created a new Google Cloud Project. If your old one is still there in your account then the warning may have come from that.
You can verify that you are not using the old Out of Band auth with the following command (or equivalent on non linux):
cat ~/.config/gphotos-sync/client_secret.json
The redirect_uris field should be just 'localhost' and not contain oob
. ie.
"redirect_uris": [
"http://localhost"
]
It definitely contains oob. I see, so if this stops working, I can just use the new flow to generate a new secret. Thank you!
@lutzky yep you should be good to go.
I got this email from google. The wording is a bit unclear. Testing apps will apparently still continue to work.
I guess there isn't much anyone could do, short of implementing some central proxy service that handles the user credentials.