Open this URL in your browser to authorize:
https://accounts.google.com/o/oauth2/v2/auth?response_type=code&access_type=offline&client_id=960152940943-nrlkh3am59g36v3gi8ic182ac7jr9ocr.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fmartin.stoll.se%2Fcallback%2Fgoogle-photos-auth%2F&state&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fphotoslibrary&prompt=consent