Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google setup consent URL contains blank OAuth token #6

Open
sarnobat opened this issue Apr 7, 2017 · 0 comments
Open

Google setup consent URL contains blank OAuth token #6

sarnobat opened this issue Apr 7, 2017 · 0 comments

Comments

@sarnobat
Copy link

sarnobat commented Apr 7, 2017

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant