Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Https rather than http using OAuth protocol #44

Open
gabrer opened this issue May 10, 2019 · 1 comment
Open

Https rather than http using OAuth protocol #44

gabrer opened this issue May 10, 2019 · 1 comment

Comments

@gabrer
Copy link

gabrer commented May 10, 2019

The oauth_init() function needs to be updated with the address having "https" rather than "http", in the following way:

def oauth_init(self):
        """Start outh and return authorization url."""
        service = OAuth1Service(
            consumer_key=self.client_key,
            consumer_secret=self.client_secret,
            name='goodreads',
            request_token_url='https://www.goodreads.com/oauth/request_token',
            authorize_url='https://www.goodreads.com/oauth/authorize',
            access_token_url='https://www.goodreads.com/oauth/access_token',
            base_url='https://www.goodreads.com/'
        )
@laurentmau
Copy link

Even doing this change I can an error when I call gc.authenticate(). Does it work for you ?

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

No branches or pull requests

2 participants