curlicue icon indicating copy to clipboard operation
curlicue copied to clipboard

Google setup consent URL contains blank OAuth token

Open sarnobat opened this issue 7 years ago • 0 comments

I copied the example given by the author:

curlicue-setup \
        'https://www.google.com/accounts/OAuthGetRequestToken?scope=https%3A%2F%2Fwww.google.com%2Fcalendar%2Ffeeds%2F' \
        'https://www.google.com/accounts/OAuthAuthorizeToken?oauth_token=$oauth_token' \
        'https://www.google.com/accounts/OAuthGetAccessToken' \
        credentials
Consumer key: 462534562093-e60q6btrojdbua18j5m5sj3l3ptel5m5.apps.googleusercontent.com
Consumer secret: 2tC97iuc8QFa9q8tiGIdFxF7
unable to write 'random state'
unable to write 'random state'
Load this URL: https://www.google.com/accounts/OAuthAuthorizeToken?oauth_token=

The web page that I would go to to authorize the token gives an error, presumably becaues the URL is missing the oauth_token value.

What am I doing incorrectly? The Twitter example worked fine (though also gave the warning about random state).

sarnobat avatar Apr 07 '17 23:04 sarnobat