After creating a new provider, not related to any know provider such Twitter or Facebook, I configured the block Connector for being shown. If a user clicks on it, I got this error:

No valid request token was returned in DrupalOAuthClient->getRequestToken()

Investigating in the code I saw that this is because neither oauth_token or oauth_token_secret params are defined. But, as far as I know, these params should be gotten from the Service provider once the user has logged in there, but this never happens.
Any idea? Am I doing something wrong or is this a bug from the module?

Comments

eldrupalista’s picture

Status: Active » Closed (works as designed)

The problem is with the server I was trying to connect to, because it didn't send oauth_token and oauth_token_secret variables.